• Api Documentation
  • Code Coverage
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.Media.WavefrontObj
      • ObjApproximationTechnique
      • ObjConstantParametricSubdivisionTechnique
      • ObjConstantSpatialSubdivisionTechnique
      • ObjCurvatureDependentSubdivisionTechnique
      • ObjCurve
      • ObjCurve2D
      • ObjCurveIndex
      • ObjElement
      • ObjFace
      • ObjFile
      • ObjFileReaderSettings
      • ObjFreeFormElement
      • ObjFreeFormType
      • ObjGroup
      • ObjLine
      • ObjMapChannel
      • ObjMaterial
      • ObjMaterialColor
      • ObjMaterialFile
      • ObjMaterialMap
      • ObjMaterialReflectionMap
      • ObjPoint
      • ObjPolygonalElement
      • ObjSurface
      • ObjSurfaceConnection
      • ObjTriplet
      • ObjVector3
      • ObjVector4
      • ObjVertex

    Struct ObjTriplet

    Implements
    IEquatable<ObjTriplet>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: JeremyAnsel.Media.WavefrontObj
    Assembly: JeremyAnsel.Media.WavefrontObj.dll
    Syntax
    [Equatable]
    public struct ObjTriplet : IEquatable<ObjTriplet>

    Constructors

    | Edit this page View Source

    ObjTriplet(int, int, int)

    Declaration
    public ObjTriplet(int vertexIndex, int textureIndex, int normalIndex)
    Parameters
    Type Name Description
    int vertexIndex
    int textureIndex
    int normalIndex

    Properties

    | Edit this page View Source

    Normal

    Declaration
    public int Normal { readonly get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Texture

    Declaration
    public int Texture { readonly get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Vertex

    Declaration
    public int Vertex { readonly get; set; }
    Property Value
    Type Description
    int

    Methods

    Equals(ObjTriplet)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ObjTriplet other)
    Parameters
    Type Name Description
    ObjTriplet other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    Equals(object?)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    Overrides
    ValueType.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override readonly string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(ObjTriplet, ObjTriplet)

    Declaration
    public static bool operator ==(ObjTriplet left, ObjTriplet right)
    Parameters
    Type Name Description
    ObjTriplet left
    ObjTriplet right
    Returns
    Type Description
    bool

    operator !=(ObjTriplet, ObjTriplet)

    Declaration
    public static bool operator !=(ObjTriplet left, ObjTriplet right)
    Parameters
    Type Name Description
    ObjTriplet left
    ObjTriplet right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    Back to top Copyright (c) 2017-2022 Jérémy Ansel