BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
BrawlLib.SSBB.ResourceNodes.SCN0CameraNode Class Reference
Inheritance diagram for BrawlLib.SSBB.ResourceNodes.SCN0CameraNode:
BrawlLib.SSBB.ResourceNodes.SCN0EntryNode BrawlLib.Wii.Animations.IKeyframeSource BrawlLib.SSBB.ResourceNodes.ResourceNode

Public Member Functions

override bool OnInitialize ()
 
override int OnCalculateSize (bool force)
 
override void OnRebuild (VoidPtr address, int length, bool force)
 
void SetCamera (ModelPanelViewport v, float frame, bool retainAspect)
 
void GetModelViewMatrix (float frame, out Matrix mtx, out Matrix inverse)
 mtx is from camera to world space (a point in camera space) inverse is from world to camera space (a point in the world) More...
 
Vector3 GetStart (float frame)
 
Vector3 GetEnd (float frame)
 
CameraAnimationFrame GetAnimFrame (float index)
 
float GetFrameValue (CameraKeyframeMode keyFrameMode, float index)
 
Vector3 GetRotate (float frame)
 
- Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.SCN0EntryNode
override bool OnInitialize ()
 
override void OnRebuild (VoidPtr address, int length, bool force)
 
IColorSource FindColorMatch (bool constant, int frameCount, int id)
 
int WriteColors (ref int flags, int bit, RGBAPixel solidColor, List< RGBAPixel > colors, bool constant, int frameCount, VoidPtr valueAddr, ref VoidPtr thisMatchAddr, VoidPtr thatMatchAddr, RGBAPixel *dataAddr)
 
void DecodeKeyframes (KeyframeArray kf, VoidPtr dataAddr, int flags, int fixedBit)
 Reads keyframes from an address and sets them in the keyframe array provided. More...
 
- Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
void OnRenamed ()
 
List< ResourceNodeGetChildrenRecursive ()
 Used primarily to get bone lists. Kept for all resource nodes for utility. More...
 
virtual void SignalPropertyChange ()
 
virtual void Dispose ()
 
void SelectChildAtIndex (int index)
 
void UpdateProperties ()
 
void UpdateCurrentControl ()
 
virtual bool MoveUp ()
 
virtual bool MoveDown ()
 
virtual void OnMoved ()
 
virtual void DoMoveDown ()
 
virtual void DoMoveDown (bool select)
 
virtual void DoMoveUp ()
 
virtual void DoMoveUp (bool select)
 
virtual bool AddUp ()
 
virtual bool AddDown ()
 
virtual bool ToParent ()
 
void Populate (int levels=-1)
 
virtual void OnPopulate ()
 
void Initialize (ResourceNode parent, FileMap source)
 
void Initialize (ResourceNode parent, VoidPtr address, int length)
 
void Initialize (ResourceNode parent, DataSource origSource)
 
virtual void Initialize (ResourceNode parent, DataSource origSource, DataSource uncompSource)
 
virtual bool OnInitialize ()
 
virtual void Restore ()
 
virtual void Remove ()
 
virtual void RemoveChild (ResourceNode child)
 
virtual void AddChild (ResourceNode child)
 
virtual void AddChild (ResourceNode child, bool change)
 
virtual void InsertChild (ResourceNode child, int index)
 
virtual void InsertChild (ResourceNode child, bool change, int index)
 
void SetSizeInternal (int size)
 
virtual void Replace (string fileName)
 
virtual void Replace (ResourceNode node)
 
virtual void Replace (string fileName, FileMapProtect prot, FileOptions options)
 
virtual void ReplaceRaw (VoidPtr address, int length)
 
virtual void ReplaceRaw (FileMap map)
 
virtual void Export (string outPath)
 
void Export (FileStream outStream)
 
virtual void ExportUncompressed (string outPath)
 
void ExportUncompressed (FileStream outStream)
 
virtual void Rebuild ()
 
virtual void Rebuild (bool force)
 
virtual void Rebuild (VoidPtr address, int length, bool force)
 
virtual void OnRebuild (VoidPtr address, int length, bool force)
 
virtual int CalculateSize (bool force)
 
virtual int OnCalculateSize (bool force)
 
void Merge ()
 
void Merge (bool forceBuild)
 
ResourceNode FindChildByType (string path, bool searchChildren, params ResourceType[] types)
 
ResourceNode FindChildByType (string path, bool searchChildren, StringComparison compare, params ResourceType[] types)
 
ResourceNode FindChild (string path)
 
ResourceNode FindChild (string path, bool searchChildren)
 
ResourceNode FindChild (string path, StringComparison compare)
 
ResourceNode FindChild (string path, bool searchChildren, StringComparison compare)
 
ResourceNode[] FindChildrenByClassType (string path, Type type)
 
ResourceNode[] FindChildrenByType (string path, ResourceType type)
 
ResourceNode[] FindChildrenByTypeInGroup (string path, ResourceType type, byte group)
 
ResourceNode[] FindChildrenByName (string name)
 
unsafe string FindName (string name)
 
ResourceNode FindEmbeddedIndex (int index)
 
virtual unsafe byte[] MD5 ()
 Find the MD5 checksum of this node's data. If this node doesn't have any data (BRESGroupNode, for example), this method will return null. More...
 
string MD5Str ()
 Get the result of the MD5() function as a string of hexadecimal digits. If MD5() returns null, this method will return an empty string. More...
 
ResourceNode PrevSibling ()
 
ResourceNode NextSibling ()
 
override string ToString ()
 
virtual void SortChildren ()
 

Public Attributes

SCN0CameraType _type = SCN0CameraType.Aim
 
ProjectionType _projType
 
SCN0CameraFlags _flags1 = (SCN0CameraFlags) 0xFFFE
 
ushort _flags2 = 1
 
SCN0CameraFlags[] Ordered
 
- Public Attributes inherited from BrawlLib.SSBB.ResourceNodes.SCN0EntryNode
int[] _dataLengths = {0, 0, 0}
 
VoidPtr[] _dataAddrs = new VoidPtr[3]
 
- Public Attributes inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
Form _mainForm
 
string _name
 
string _origPath
 
ResourceNode _parent
 
List< ResourceNode_children = new List<ResourceNode>()
 
int _calcSize
 
EventHandler UpdateControl
 
MoveEventHandler MovedDown
 
ResourceEventHandler Renamed
 
ResourceEventHandler PropertyChanged
 
ResourceEventHandler Replaced
 
ResourceEventHandler Restored
 
ResourceChildEventHandler ChildRemoved
 
bool _isPopulating
 
bool _replaced
 

Static Public Attributes

static bool _generateTangents = true
 

Properties

override ResourceType ResourceFileType [get]
 
UserDataCollection UserEntries [get, set]
 
int FrameCount [get]
 
SCN0CameraType Type [get, set]
 
ProjectionType ProjectionType [get, set]
 
KeyframeArray PosX [get]
 
KeyframeArray PosY [get]
 
KeyframeArray PosZ [get]
 
KeyframeArray Aspect [get]
 
KeyframeArray NearZ [get]
 
KeyframeArray FarZ [get]
 
KeyframeArray RotX [get]
 
KeyframeArray RotY [get]
 
KeyframeArray RotZ [get]
 
KeyframeArray AimX [get]
 
KeyframeArray AimY [get]
 
KeyframeArray AimZ [get]
 
KeyframeArray Twist [get]
 
KeyframeArray FovY [get]
 
KeyframeArray Height [get]
 
KeyframeCollection Keyframes [get]
 
KeyframeArray[] KeyArrays [get]
 
- Properties inherited from BrawlLib.SSBB.ResourceNodes.SCN0EntryNode
override bool AllowNullNames [get]
 
SCN0Node Scene [get]
 
int NodeIndex [get]
 
int RealIndex [get]
 
- Properties inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
string FilePath [get]
 
string FileName [get]
 
string DirectoryName [get]
 
ResourceNode RootNode [get]
 
DataSource OriginalSource [get]
 
DataSource UncompressedSource [get]
 
DataSource WorkingSource [get]
 
DataSource WorkingUncompressed [get]
 
virtual bool HasChildren [get]
 
virtual ResourceType ResourceFileType [get]
 
string NodeType [get]
 
virtual string TreePathAbsolute [get]
 
virtual string TreePath [get]
 
virtual int Level [get]
 
virtual int MaxNameLength [get]
 
virtual bool AllowDuplicateNames [get]
 
virtual bool AllowNullNames [get]
 
virtual string Name [get, set]
 
ResourceNode Parent [get, set]
 
List< ResourceNodeChildren [get]
 
int Index [get]
 
int HexIndex [get]
 
bool IsCompressed [get]
 
bool HasChanged [get, set]
 
bool IsBranch [get]
 
bool HasMerged [get]
 
virtual bool AllowSaving [get, set]
 
virtual bool IsDirty [get, set]
 
virtual uint UncompressedSize [get]
 
virtual Type[] AllowedChildTypes [get]
 
virtual string Compression [get, set]
 
virtual bool RetainChildrenOnReplace [get]
 
virtual bool supportsCompression [get]
 
static MD5CryptoServiceProvider MD5Provider [get]
 
- Properties inherited from BrawlLib.Wii.Animations.IKeyframeSource
int FrameCount [get]
 
KeyframeArray[] KeyArrays [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.SCN0EntryNode
static void DecodeKeyframes (KeyframeArray kf, VoidPtr dataAddr)
 Reads keyframes at an address, starting with the keyframe array header. More...
 
static int EncodeKeyframes (KeyframeArray kf, VoidPtr dataAddr, VoidPtr offset, ref int flags, int fixedBit)
 
static int EncodeKeyframes (KeyframeArray kf, VoidPtr dataAddr, VoidPtr offset)
 
static int EncodeKeyframes (KeyframeArray kf, VoidPtr dataAddr)
 
- Static Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
static ResourceNode[] FindAllSubNodes (ResourceNode root)
 
static ResourceNode FindNode (ResourceNode root, string path, bool searchChildren, StringComparison compare)
 
- Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.SCN0EntryNode
void ReadColors (uint flags, uint bit, ref RGBAPixel solidColor, ref List< RGBAPixel > colors, int frameCount, VoidPtr address, ref bool constant, ref int numEntries)
 
void CalcKeyLen (KeyframeArray keyframes)
 
- Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
void ForceReplacedEvent ()
 
virtual void MergeInternal ()
 
- Events inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
SelectEventHandler SelectChild
 
EventHandler UpdateProps
 
MoveEventHandler MovedUp
 
ResourceEventHandler Disposing
 
ResourceChildEventHandler ChildAdded
 
ResourceChildInsertEventHandler ChildInserted
 

Member Function Documentation

◆ GetAnimFrame()

CameraAnimationFrame BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.GetAnimFrame ( float  index)
inline
241 {
243 float* dPtr = (float*) &frame;
244 for (int x = 0; x < 15; x++)
245 {
247 *dPtr++ = a.GetFrameValue(index);
248 frame.SetBools(x, a.GetKeyframe((int) index) != null);
249 frame.Index = index;
250 }
251
252 return frame;
253 }
KeyframeCollection Keyframes
Definition: SCN0CameraNode.cs:317
Definition: KeyframeCollection.cs:380
float GetFrameValue(float index, bool returnOutValue=false)
Definition: KeyframeCollection.cs:491
KeyframeEntry GetKeyframe(int index)
Definition: KeyframeCollection.cs:475
Definition: AnimationFrame.cs:609
void SetBools(int index, bool val)
Definition: AnimationFrame.cs:644

◆ GetEnd()

Vector3 BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.GetEnd ( float  frame)
inline
231 {
232 return new Vector3(
233 AimX.GetFrameValue(frame),
234 AimY.GetFrameValue(frame),
235 AimZ.GetFrameValue(frame));
236 }
KeyframeArray AimZ
Definition: SCN0CameraNode.cs:308
KeyframeArray AimX
Definition: SCN0CameraNode.cs:306
KeyframeArray AimY
Definition: SCN0CameraNode.cs:307
Definition: Vector3.cs:40

◆ GetFrameValue()

float BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.GetFrameValue ( CameraKeyframeMode  keyFrameMode,
float  index 
)
inline
261 {
262 return Keyframes[(int) keyFrameMode].GetFrameValue(index);
263 }
float GetFrameValue(CameraKeyframeMode keyFrameMode, float index)
Definition: SCN0CameraNode.cs:260

◆ GetModelViewMatrix()

void BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.GetModelViewMatrix ( float  frame,
out Matrix  mtx,
out Matrix  inverse 
)
inline

mtx is from camera to world space (a point in camera space) inverse is from world to camera space (a point in the world)

213 {
215 Vector3 r = f.GetRotation(Type);
216 Vector3 t = f.Pos;
217
218 mtx = Matrix.ReverseTransformMatrix(new Vector3(1.0f), r, t);
219 inverse = Matrix.TransformMatrix(new Vector3(1.0f), r, t);
220 }
SCN0CameraType Type
Definition: SCN0CameraNode.cs:39
CameraAnimationFrame GetAnimFrame(float index)
Definition: SCN0CameraNode.cs:240
Definition: Matrix.cs:14
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
Vector3 GetRotation(SCN0CameraType type)
Definition: AnimationFrame.cs:782
Vector3 Pos
Definition: AnimationFrame.cs:612

◆ GetRotate()

Vector3 BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.GetRotate ( float  frame)
inline
354 {
355 return new Vector3(RotX.GetFrameValue(frame), RotY.GetFrameValue(frame), RotZ.GetFrameValue(frame));
356 }
KeyframeArray RotX
Definition: SCN0CameraNode.cs:303
KeyframeArray RotY
Definition: SCN0CameraNode.cs:304
KeyframeArray RotZ
Definition: SCN0CameraNode.cs:305

◆ GetStart()

Vector3 BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.GetStart ( float  frame)
inline
223 {
224 return new Vector3(
225 PosX.GetFrameValue(frame),
226 PosY.GetFrameValue(frame),
227 PosZ.GetFrameValue(frame));
228 }
KeyframeArray PosZ
Definition: SCN0CameraNode.cs:299
KeyframeArray PosY
Definition: SCN0CameraNode.cs:298
KeyframeArray PosX
Definition: SCN0CameraNode.cs:297

◆ OnCalculateSize()

override int BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.OnCalculateSize ( bool  force)
inlinevirtual

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

100 {
101 //Reset data lengths
102 for (int i = 0; i < 3; i++)
103 {
104 _dataLengths[i] = 0;
105 }
106
107 int size = SCN0Camera.Size;
108
109 if (_name != "<null>")
110 {
111 //Get the total data size of all keyframes
112 for (int i = 0; i < 15; i++)
113 {
115 }
116
117 //Add the size of the user entries
118 size += _userEntries.GetSize();
119 }
120
121 return size;
122 }
string _name
Definition: ResourceNode.cs:139
int[] _dataLengths
Definition: SCN0GroupNode.cs:256
void CalcKeyLen(KeyframeArray keyframes)
Definition: SCN0GroupNode.cs:423
int GetSize()
Definition: UserData.cs:123
Definition: SCN0.cs:496
const int Size
Definition: SCN0.cs:497

◆ OnInitialize()

override bool BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.OnInitialize ( )
inlinevirtual

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

60 {
61 //Read common header
62 base.OnInitialize();
63
64 if (_name == "<null>")
65 {
66 return false;
67 }
68
69 //Read header data
70 _flags1 = (SCN0CameraFlags) (ushort) Data->_flags1;
71 _flags2 = Data->_flags2;
74
75 //Read user data
76 (_userEntries = new UserDataCollection()).Read(Data->UserData, WorkingUncompressed);
77
78 return false;
79 }
DataSource WorkingUncompressed
Definition: ResourceNode.cs:183
SCN0CameraFlags _flags1
Definition: SCN0CameraNode.cs:32
ushort _flags2
Definition: SCN0CameraNode.cs:33
ProjectionType _projType
Definition: SCN0CameraNode.cs:31
SCN0CameraType _type
Definition: SCN0CameraNode.cs:30
ProjectionType ProjectionType
Definition: SCN0CameraNode.cs:50
SCN0CameraType
Definition: SCN0.cs:489
SCN0CameraFlags
Definition: SCN0.cs:462
bushort _flags2
Definition: SCN0.cs:503
bushort _flags1
Definition: SCN0.cs:502
bint _projectionType
Definition: SCN0.cs:501
VoidPtr UserData
Definition: SCN0.cs:528

◆ OnRebuild()

override void BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.OnRebuild ( VoidPtr  address,
int  length,
bool  force 
)
inlinevirtual

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

125 {
126 base.OnRebuild(address, length, force);
127
128 if (_name == "<null>")
129 {
130 return;
131 }
132
133 SCN0Camera* header = (SCN0Camera*) address;
134
135 header->_projectionType = (int) _projType;
136 header->_flags2 = (ushort) (2 + (int) _type);
137 header->_userDataOffset = 0;
138
139 int newFlags1 = 0;
140
141 for (int i = 0; i < 15; i++)
142 {
144 Keyframes[i],
145 _dataAddrs[0],
146 header->_position._x.Address + i * 4,
147 ref newFlags1,
148 (int) Ordered[i]);
149 }
150
151 header->_flags1 = (ushort) newFlags1;
152
153 if (_userEntries.Count > 0)
154 {
155 _userEntries.Write(header->UserData = (VoidPtr) header + SCN0Camera.Size);
156 }
157 }
SCN0CameraFlags[] Ordered
Definition: SCN0CameraNode.cs:169
static int EncodeKeyframes(KeyframeArray kf, VoidPtr dataAddr, VoidPtr offset, ref int flags, int fixedBit)
Definition: SCN0GroupNode.cs:465
VoidPtr[] _dataAddrs
Definition: SCN0GroupNode.cs:257
void Write(VoidPtr userDataAddr)
Definition: UserData.cs:145
bfloat _x
Definition: BigEndianTypes.cs:367
Definition: VoidPtr.cs:9
VoidPtr Address
Definition: BigEndianTypes.cs:128
BVec3 _position
Definition: SCN0.cs:506
bint _userDataOffset
Definition: SCN0.cs:504

◆ SetCamera()

void BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.SetCamera ( ModelPanelViewport  v,
float  frame,
bool  retainAspect 
)
inline
189 {
191 if (v.ViewType != proj)
192 {
193 v.SetProjectionType(proj);
194 }
195
196 GLCamera cam = v.Camera;
198 cam.Reset();
199 cam.Translate(f.Pos);
200
201 Vector3 rotate = f.GetRotation(Type);
202 cam.Rotate(rotate);
203
204 float aspect = retainAspect ? cam.Aspect : f.Aspect;
205 cam.SetProjectionParams(aspect, f.FovY, f.FarZ, f.NearZ);
206 }
Definition: GLCamera.cs:8
void SetProjectionParams(float aspect, float fovy, float farz, float nearz)
Definition: GLCamera.cs:33
void Rotate(float x, float y, float z)
Definition: GLCamera.cs:181
void Translate(Vector3 v)
Definition: GLCamera.cs:168
void Reset()
Definition: GLCamera.cs:252
ViewportProjection ViewType
Definition: GLViewport.cs:36
GLCamera Camera
Definition: GLViewport.cs:54
void SetProjectionType(ViewportProjection type)
Definition: GLViewport.cs:206
ViewportProjection
Definition: GLViewport.cs:418
float FarZ
Definition: AnimationFrame.cs:615
float Aspect
Definition: AnimationFrame.cs:613
float FovY
Definition: AnimationFrame.cs:619
float NearZ
Definition: AnimationFrame.cs:614

Member Data Documentation

◆ _flags1

SCN0CameraFlags BrawlLib.SSBB.ResourceNodes.SCN0CameraNode._flags1 = (SCN0CameraFlags) 0xFFFE

◆ _flags2

ushort BrawlLib.SSBB.ResourceNodes.SCN0CameraNode._flags2 = 1

◆ _generateTangents

bool BrawlLib.SSBB.ResourceNodes.SCN0CameraNode._generateTangents = true
static

◆ _projType

ProjectionType BrawlLib.SSBB.ResourceNodes.SCN0CameraNode._projType

◆ _type

SCN0CameraType BrawlLib.SSBB.ResourceNodes.SCN0CameraNode._type = SCN0CameraType.Aim

◆ Ordered

SCN0CameraFlags [] BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.Ordered
Initial value:
= new SCN0CameraFlags[]
{
SCN0CameraFlags.PosXConstant,
SCN0CameraFlags.PosYConstant,
SCN0CameraFlags.PosZConstant,
SCN0CameraFlags.AspectConstant,
SCN0CameraFlags.NearConstant,
SCN0CameraFlags.FarConstant,
SCN0CameraFlags.RotXConstant,
SCN0CameraFlags.RotYConstant,
SCN0CameraFlags.RotZConstant,
SCN0CameraFlags.AimXConstant,
SCN0CameraFlags.AimYConstant,
SCN0CameraFlags.AimZConstant,
SCN0CameraFlags.TwistConstant,
SCN0CameraFlags.PerspFovYConstant,
SCN0CameraFlags.OrthoHeightConstant
}

Property Documentation

◆ AimX

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.AimX
get

◆ AimY

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.AimY
get

◆ AimZ

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.AimZ
get

◆ Aspect

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.Aspect
get

◆ FarZ

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.FarZ
get

◆ FovY

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.FovY
get

◆ FrameCount

int BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.FrameCount
get

◆ Height

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.Height
get

◆ KeyArrays

KeyframeArray [] BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.KeyArrays
get

◆ Keyframes

KeyframeCollection BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.Keyframes
get
317 {
318 get
319 {
320 if (_keyframes == null)
321 {
322 _keyframes =
323 new KeyframeCollection(15, Scene == null ? 1 : Scene.FrameCount + (Scene.Loop ? 1 : 0));
324 if (Data != null && Name != "<null>")
325 {
326 for (int i = 0; i < 15; i++)
327 {
329 Keyframes[i],
330 Data->_position._x.Address + i * 4,
331 (int) _flags1,
332 (int) Ordered[i]);
333 }
334 }
335 }
336
337 return _keyframes;
338 }
339 }
virtual string Name
Definition: ResourceNode.cs:223
void DecodeKeyframes(KeyframeArray kf, VoidPtr dataAddr, int flags, int fixedBit)
Reads keyframes from an address and sets them in the keyframe array provided.
Definition: SCN0GroupNode.cs:438
SCN0Node Scene
Definition: SCN0GroupNode.cs:242
override bool Loop
Definition: SCN0Node.cs:79
override int FrameCount
Definition: SCN0Node.cs:72
Definition: KeyframeCollection.cs:17

◆ NearZ

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.NearZ
get

◆ PosX

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.PosX
get

◆ PosY

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.PosY
get

◆ PosZ

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.PosZ
get

◆ ProjectionType

ProjectionType BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.ProjectionType
getset
50 {
51 get => _projType;
52 set
53 {
54 _projType = value;
56 }
57 }
virtual void SignalPropertyChange()
Definition: ResourceNode.cs:313

◆ ResourceFileType

override ResourceType BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.ResourceFileType
get

◆ RotX

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.RotX
get

◆ RotY

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.RotY
get

◆ RotZ

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.RotZ
get

◆ Twist

KeyframeArray BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.Twist
get

◆ Type

SCN0CameraType BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.Type
getset
39 {
40 get => _type;
41 set
42 {
43 _type = value;
45 }
46 }

◆ UserEntries

UserDataCollection BrawlLib.SSBB.ResourceNodes.SCN0CameraNode.UserEntries
getset
19 {
20 get => _userEntries;
21 set
22 {
23 _userEntries = value;
25 }
26 }

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