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

    Implements
    IEquatable<ObjVector3>
    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 ObjVector3 : IEquatable<ObjVector3>

    Constructors

    | Edit this page View Source

    ObjVector3(Vector2, float)

    Declaration
    public ObjVector3(Vector2 v, float z = 1)
    Parameters
    Type Name Description
    Vector2 v
    float z
    | Edit this page View Source

    ObjVector3(Vector3)

    Declaration
    public ObjVector3(Vector3 v)
    Parameters
    Type Name Description
    Vector3 v
    | Edit this page View Source

    ObjVector3(float)

    Declaration
    public ObjVector3(float x)
    Parameters
    Type Name Description
    float x
    | Edit this page View Source

    ObjVector3(float, float)

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

    ObjVector3(float, float, float)

    Declaration
    public ObjVector3(float x, float y, float z)
    Parameters
    Type Name Description
    float x
    float y
    float z

    Properties

    | Edit this page View Source

    X

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

    Y

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

    Z

    Declaration
    public float Z { readonly get; set; }
    Property Value
    Type Description
    float

    Methods

    | Edit this page View Source

    Deconstruct(out float, out float, out float)

    Declaration
    public readonly void Deconstruct(out float x, out float y, out float z)
    Parameters
    Type Name Description
    float x
    float y
    float z

    Equals(ObjVector3)

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

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

    ToVector3()

    Declaration
    public readonly Vector3 ToVector3()
    Returns
    Type Description
    Vector3

    Operators

    operator ==(ObjVector3, ObjVector3)

    Declaration
    public static bool operator ==(ObjVector3 left, ObjVector3 right)
    Parameters
    Type Name Description
    ObjVector3 left
    ObjVector3 right
    Returns
    Type Description
    bool
    | Edit this page View Source

    implicit operator ObjVector3(Vector3)

    Declaration
    public static implicit operator ObjVector3(Vector3 v)
    Parameters
    Type Name Description
    Vector3 v
    Returns
    Type Description
    ObjVector3

    operator !=(ObjVector3, ObjVector3)

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

    Implements

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