Struct ObjVector3
Assembly: JeremyAnsel.Media.WavefrontObj.dll
public struct ObjVector3 : IEquatable<ObjVector3>
Constructors
|
Edit this page
View Source
Declaration
public ObjVector3(Vector2 v, float z = 1)
Parameters
|
Edit this page
View Source
Declaration
public ObjVector3(Vector3 v)
Parameters
|
Edit this page
View Source
Declaration
public ObjVector3(float x)
Parameters
Type |
Name |
Description |
float |
x |
|
|
Edit this page
View Source
Declaration
public ObjVector3(float x, float y)
Parameters
|
Edit this page
View Source
Declaration
public ObjVector3(float x, float y, float z)
Parameters
Properties
|
Edit this page
View Source
Declaration
public float X { readonly get; set; }
Property Value
|
Edit this page
View Source
Declaration
public float Y { readonly get; set; }
Property Value
|
Edit this page
View Source
Declaration
public float Z { readonly get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public readonly void Deconstruct(out float x, out float y, out float z)
Parameters
|
Edit this page
View Source
Indicates whether the current object is equal to another object of the same type.
Declaration
public readonly 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.
|
|
Edit this page
View Source
Indicates whether this instance and a specified object are equal.
Declaration
public override readonly 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
|
Edit this page
View Source
Returns the hash code for this instance.
Declaration
public override readonly int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
|
Edit this page
View Source
Declaration
public readonly Vector3 ToVector3()
Returns
Operators
|
Edit this page
View Source
Declaration
public static bool operator ==(ObjVector3 left, ObjVector3 right)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static implicit operator ObjVector3(Vector3 v)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static bool operator !=(ObjVector3 left, ObjVector3 right)
Parameters
Returns
Implements