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

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

    Constructors

    | Edit this page View Source

    ObjVector4(Vector3, float)

    Declaration
    public ObjVector4(Vector3 v, float w = 1)
    Parameters
    Type Name Description
    Vector3 v
    float w
    | Edit this page View Source

    ObjVector4(Vector4)

    Declaration
    public ObjVector4(Vector4 v)
    Parameters
    Type Name Description
    Vector4 v
    | Edit this page View Source

    ObjVector4(float, float, float)

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

    ObjVector4(float, float, float, float)

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

    Properties

    | Edit this page View Source

    W

    Declaration
    public float W { readonly get; set; }
    Property Value
    Type Description
    float
    | 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, out float)

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

    Equals(ObjVector4)

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

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

    ToVector4()

    Declaration
    public readonly Vector4 ToVector4()
    Returns
    Type Description
    Vector4

    Operators

    operator ==(ObjVector4, ObjVector4)

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

    implicit operator ObjVector4(Vector4)

    Declaration
    public static implicit operator ObjVector4(Vector4 v)
    Parameters
    Type Name Description
    Vector4 v
    Returns
    Type Description
    ObjVector4

    operator !=(ObjVector4, ObjVector4)

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

    Implements

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