BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
BrawlLib.Modeling.Facepoint Class Reference

Public Member Functions

override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Public Attributes

int _index
 
Vertex3 _vertex
 
int _vertexIndex = -1
 
int _normalIndex = -1
 
int[] _colorIndices = new int[2] {-1, -1}
 
int[] _UVIndices = new int[8] {-1, -1, -1, -1, -1, -1, -1, -1}
 

Properties

ushort NodeID [get]
 
int VertexIndex [get]
 
int NormalIndex [get]
 
int[] ColorIndices [get]
 
int[] UVIndices [get]
 

Member Function Documentation

◆ Equals()

override bool BrawlLib.Modeling.Facepoint.Equals ( object  obj)
inline
58 {
59 if (!(obj is Facepoint))
60 {
61 return false;
62 }
63
64 return obj.ToString().Equals(ToString());
65 }
override string ToString()
Definition: Face.cs:50

◆ GetHashCode()

override int BrawlLib.Modeling.Facepoint.GetHashCode ( )
inline
68 {
69 return ToString().GetHashCode();
70 }

◆ ToString()

override string BrawlLib.Modeling.Facepoint.ToString ( )
inline
51 {
52 return string.Format("M({12}), V({0}), N({1}), C({2}, {3}), U({4}, {5}, {6}, {7}, {8}, {9}, {10}, {11})",
55 }
ushort NodeID
Definition: Face.cs:17
int _vertexIndex
Definition: Face.cs:29
int[] _colorIndices
Definition: Face.cs:31
int _normalIndex
Definition: Face.cs:30
int[] _UVIndices
Definition: Face.cs:32

Member Data Documentation

◆ _colorIndices

int [] BrawlLib.Modeling.Facepoint._colorIndices = new int[2] {-1, -1}

◆ _index

int BrawlLib.Modeling.Facepoint._index

◆ _normalIndex

int BrawlLib.Modeling.Facepoint._normalIndex = -1

◆ _UVIndices

int [] BrawlLib.Modeling.Facepoint._UVIndices = new int[8] {-1, -1, -1, -1, -1, -1, -1, -1}

◆ _vertex

Vertex3 BrawlLib.Modeling.Facepoint._vertex

◆ _vertexIndex

int BrawlLib.Modeling.Facepoint._vertexIndex = -1

Property Documentation

◆ ColorIndices

int [] BrawlLib.Modeling.Facepoint.ColorIndices
get

◆ NodeID

ushort BrawlLib.Modeling.Facepoint.NodeID
get
17 {
18 get
19 {
20 if (Node != null)
21 {
22 return (ushort) Node.NodeIndex;
23 }
24
25 return ushort.MaxValue;
26 }
27 }
int NodeIndex
Definition: IMatrixNode.cs:11

◆ NormalIndex

int BrawlLib.Modeling.Facepoint.NormalIndex
get

◆ UVIndices

int [] BrawlLib.Modeling.Facepoint.UVIndices
get

◆ VertexIndex

int BrawlLib.Modeling.Facepoint.VertexIndex
get

The documentation for this class was generated from the following file: