◆ FrameState() [1/2]
67 {
71
73 }
Vector3 _translate
Definition: FrameState.cs:14
Vector3 _rotate
Definition: FrameState.cs:13
void CalcTransforms()
Definition: FrameState.cs:84
Vector3 _scale
Definition: FrameState.cs:12
Vector3 Translation
Definition: AnimationFrame.cs:20
Vector3 Scale
Definition: AnimationFrame.cs:18
Vector3 Rotation
Definition: AnimationFrame.cs:19
◆ FrameState() [2/2]
◆ CalcTransforms()
void BrawlLib.Modeling.FrameState.CalcTransforms |
( |
| ) |
|
|
inline |
85 {
88 }
static Matrix TransformMatrix(Vector3 scale, Vector3 rotate, Vector3 translate)
Definition: Matrix.cs:1214
static Matrix ReverseTransformMatrix(Vector3 scale, Vector3 rotation, Vector3 translation)
Definition: Matrix.cs:1246
Matrix _transform
Definition: FrameState.cs:16
Matrix _iTransform
Definition: FrameState.cs:16
◆ operator CHRAnimationFrame()
98 {
100 }
Definition: AnimationFrame.cs:12
◆ ToString()
override string BrawlLib.Modeling.FrameState.ToString |
( |
| ) |
|
|
inline |
91 {
92 return $"{_scale.ToString()}{_rotate.ToString()}{_translate.ToString()}";
93 }
◆ _iTransform
Matrix BrawlLib.Modeling.FrameState._iTransform |
◆ _rotate
Vector3 BrawlLib.Modeling.FrameState._rotate |
◆ _scale
Vector3 BrawlLib.Modeling.FrameState._scale |
◆ _transform
Matrix BrawlLib.Modeling.FrameState._transform |
◆ _translate
Vector3 BrawlLib.Modeling.FrameState._translate |
◆ Neutral
◆ Rotate
Vector3 BrawlLib.Modeling.FrameState.Rotate |
|
getset |
47 {
49 set
50 {
53 }
54 }
◆ Scale
Vector3 BrawlLib.Modeling.FrameState.Scale |
|
getset |
57 {
59 set
60 {
63 }
64 }
◆ this[int index]
unsafe float BrawlLib.Modeling.FrameState.this[int index] |
|
getset |
19 {
20 get
21 {
22 fixed (FrameState* f = &this)
23 {
24 return ((float*) f)[index];
25 }
26 }
27 set
28 {
29 fixed (FrameState* f = &this)
30 {
31 ((float*) f)[index] = value;
32 }
33 }
34 }
◆ Translate
Vector3 BrawlLib.Modeling.FrameState.Translate |
|
getset |
37 {
39 set
40 {
43 }
44 }
The documentation for this struct was generated from the following file:
- BrawlLib/Modeling/FrameState.cs