Struct ObjVertex
Assembly: JeremyAnsel.Media.WavefrontObj.dll
public struct ObjVertex : IEquatable<ObjVertex>
Constructors
|
Edit this page
View Source
Declaration
public ObjVertex(float x, float y, float z)
Parameters
|
Edit this page
View Source
Declaration
public ObjVertex(float x, float y, float z, float w)
Parameters
|
Edit this page
View Source
Declaration
public ObjVertex(float x, float y, float z, float r, float g, float b)
Parameters
|
Edit this page
View Source
Declaration
public ObjVertex(float x, float y, float z, float r, float g, float b, float a)
Parameters
Properties
|
Edit this page
View Source
Declaration
public ObjVector4? Color { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public ObjVector4 Position { get; set; }
Property Value
Methods
|
Edit this page
View Source
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.
|
|
Edit this page
View Source
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
|
Edit this page
View Source
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
Operators
|
Edit this page
View Source
Declaration
public static bool operator ==(ObjVertex left, ObjVertex right)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static bool operator !=(ObjVertex left, ObjVertex right)
Parameters
Returns
Implements