• 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 ObjVertex

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

    Constructors

    | Edit this page View Source

    ObjVertex(float, float, float)

    Declaration
    public ObjVertex(float x, float y, float z)
    Parameters
    Type Name Description
    float x
    float y
    float z
    | Edit this page View Source

    ObjVertex(float, float, float, float)

    Declaration
    public ObjVertex(float x, float y, float z, float w)
    Parameters
    Type Name Description
    float x
    float y
    float z
    float w
    | Edit this page View Source

    ObjVertex(float, float, float, float, float, float)

    Declaration
    public ObjVertex(float x, float y, float z, float r, float g, float b)
    Parameters
    Type Name Description
    float x
    float y
    float z
    float r
    float g
    float b
    | Edit this page View Source

    ObjVertex(float, float, float, float, float, float, float)

    Declaration
    public ObjVertex(float x, float y, float z, float r, float g, float b, float a)
    Parameters
    Type Name Description
    float x
    float y
    float z
    float r
    float g
    float b
    float a

    Properties

    | Edit this page View Source

    Color

    Declaration
    public ObjVector4? Color { get; set; }
    Property Value
    Type Description
    ObjVector4?
    | Edit this page View Source

    Position

    Declaration
    public ObjVector4 Position { get; set; }
    Property Value
    Type Description
    ObjVector4

    Methods

    Equals(ObjVertex)

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

    Declaration
    public bool Equals(ObjVertex other)
    Parameters
    Type Name Description
    ObjVertex 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()

    Operators

    operator ==(ObjVertex, ObjVertex)

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

    operator !=(ObjVertex, ObjVertex)

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

    Implements

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