BrawlCrate v0.41
Wii File Editor
|
Public Member Functions | |
MDL0Node () | |
Box | GetBox () |
Call ApplyCHR0 before calling this More... | |
void | CalculateBoundingBoxes () |
void | CheckTextures () |
List< ResourceNode > | GetUsedShaders () |
void | GenerateMetalMaterials () |
void | GenerateMetalMaterials (string metalTextureName) |
void | CleanTextures () |
MDL0TextureNode | FindOrCreateTexture (string name) |
MDL0TextureNode | FindOrCreatePalette (string name) |
MDL0BoneNode | FindBone (string name) |
MDL0BoneNode | FindBoneByIndex (int givenIndex) |
MDL0MaterialNode | FindOrCreateOpaMaterial (string name) |
MDL0MaterialNode | FindOrCreateXluMaterial (string name) |
override void | AddChild (ResourceNode child, bool change) |
override void | RemoveChild (ResourceNode child) |
void | ReplaceOrAddMesh (MDL0ObjectNode replacement, bool doSearch, bool replaceIfFound, bool addIfNotFound) |
void | ReplaceMeshes (MDL0Node replacement, bool doSearch, bool replaceIfFound, bool addIfNotFound) |
void | ConvertToShadowModel () |
void | ConvertToSpyModel () |
void | ConvertToSpyModelMultiType () |
void | StripModel () |
void | LinkGroup (MDL0GroupNode group) |
void | UnlinkGroup (MDL0GroupNode group) |
override bool | OnInitialize () |
override void | OnPopulate () |
void | BeginImport () |
void | FinishImport (Collada form=null) |
override void | Replace (string fileName, FileMapProtect prot, FileOptions options) |
override void | Export (string outPath) |
override int | OnCalculateSize (bool force) |
override void | OnRebuild (VoidPtr address, int length, bool force) |
void | Attach () |
void | RegenerateVIS0Indices () |
This only needs to be called when the model is currently attached to a model renderer and the amount of objects change or an object's visibility bone changes. More... | |
void | Detach () |
void | Refresh () |
void | PreRender (ModelPanelViewport v) |
void | RenderVertices (bool depthPass, IBoneNode weightTarget, GLCamera camera) |
void | RenderNormals () |
void | RenderBoxes (bool model, bool obj, bool bone, bool bindState) |
void | RenderBones (ModelPanelViewport v) |
void | ResetToBindState () |
void | DrawBox (bool bindState) |
void | ApplyCHR (CHR0Node node, float index) |
void | WeightMeshes (ModelPanelViewport v=null) |
void | ApplySRT (SRT0Node node, float index) |
void | ApplyCLR (CLR0Node node, float index) |
void | ApplyPAT (PAT0Node node, float index) |
void | ApplyVIS (VIS0Node node, float index) |
void | ApplySCN (SCN0Node node, float index) |
void | ApplySHP (SHP0Node node, float index) |
void | OnDrawCallsChanged () |
Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.BRESEntryNode | |
override bool | OnInitialize () |
override void | Export (string outPath) |
override byte[] | MD5 () |
Find the MD5 checksum of this node's data. Before calculating the checksum, the data will be copied to a temporary area in memory and PostProcess will be run just as in Export(). More... | |
Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
void | OnRenamed () |
List< ResourceNode > | GetChildrenRecursive () |
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 () |
void | ResetToBindState () |
void | ApplyCHR (CHR0Node node, float index) |
void | ApplySRT (SRT0Node node, float index) |
void | ApplySHP (SHP0Node node, float index) |
void | ApplyPAT (PAT0Node node, float index) |
void | ApplyVIS (VIS0Node node, float index) |
void | ApplyCLR (CLR0Node node, float index) |
void | ApplySCN (SCN0Node node, float index) |
void | RenderVertices (bool depthPass, IBoneNode weightTarget, GLCamera camera) |
void | RenderNormals () |
void | RenderBoxes (bool model, bool obj, bool bone, bool bindState) |
void | RenderBones (ModelPanelViewport v) |
void | Attach () |
void | Detach () |
void | Refresh () |
void | PreRender (ModelPanelViewport v) |
Box | GetBox () |
Static Public Member Functions | |
static MDL0Node | FromFile (string path, FileOptions options=FileOptions.RandomAccess) |
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) |
Static Public Attributes | |
static bool | MultiTypeWorks = false |
Protected Member Functions | |
override void | OnVersionChanged (int previousVersion) |
virtual void | OnVersionChanged (int previousVersion) |
Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
void | ForceReplacedEvent () |
virtual void | MergeInternal () |
Events | |
EventHandler | DrawCallsChanged |
Events inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
SelectEventHandler | SelectChild |
EventHandler | UpdateProps |
MoveEventHandler | MovedUp |
ResourceEventHandler | Disposing |
ResourceChildEventHandler | ChildAdded |
ResourceChildInsertEventHandler | ChildInserted |
Events inherited from BrawlLib.OpenGL.IRenderedObject | |
EventHandler | DrawCallsChanged |
|
inline |
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.OpenGL.IRenderedObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Implements BrawlLib.OpenGL.IRenderedObject.
|
inline |
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.BRESEntryNode.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Call ApplyCHR0 before calling this
Implements BrawlLib.OpenGL.IRenderedObject.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
|
inline |
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.BRESEntryNode.
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
|
inlineprotectedvirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.BRESEntryNode.
|
inline |
Implements BrawlLib.OpenGL.IRenderedObject.
|
inline |
Implements BrawlLib.OpenGL.IRenderedObject.
|
inline |
This only needs to be called when the model is currently attached to a model renderer and the amount of objects change or an object's visibility bone changes.
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
|
inline |
|
inline |
|
inline |
Implements BrawlLib.Modeling.IModel.
|
inline |
|
inline |
|
inline |
AssetStorage BrawlLib.SSBB.ResourceNodes.MDL0Node._assets |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._autoMetal |
List<MDL0BoneNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._billboardBones = new List<MDL0BoneNode>() |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._boneGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._boneList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._colorGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._colorList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._defGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._defList |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._dontUpdateMesh = false |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._enableExtents |
byte BrawlLib.SSBB.ResourceNodes.MDL0Node._envMtxMode |
List<string> BrawlLib.SSBB.ResourceNodes.MDL0Node._errors = new List<string>() |
Box BrawlLib.SSBB.ResourceNodes.MDL0Node._extents |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._furPosGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._furPosList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._furVecGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._furVecList |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._hasMix |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._hasOpa |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._hasTree |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._hasXlu |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._ignoreModelViewerAttribs = false |
InfluenceManager BrawlLib.SSBB.ResourceNodes.MDL0Node._influences = new InfluenceManager() |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._isImport |
ModelLinker BrawlLib.SSBB.ResourceNodes.MDL0Node._linker |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._matGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._matList |
Matrix? BrawlLib.SSBB.ResourceNodes.MDL0Node._matrixOffset = null |
string BrawlLib.SSBB.ResourceNodes.MDL0Node._metalMat |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._needsNrmMtxArray |
bool BrawlLib.SSBB.ResourceNodes.MDL0Node._needsTexMtxArray |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._normGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._normList |
int BrawlLib.SSBB.ResourceNodes.MDL0Node._numFacepoints |
int BrawlLib.SSBB.ResourceNodes.MDL0Node._numNodes |
int BrawlLib.SSBB.ResourceNodes.MDL0Node._numTriangles |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._objGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._objList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._pltGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._pltList |
ModelRenderAttributes BrawlLib.SSBB.ResourceNodes.MDL0Node._renderAttribs = new ModelRenderAttributes() |
int BrawlLib.SSBB.ResourceNodes.MDL0Node._selectedObjectIndex = -1 |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._shadGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._shadList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._texGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._texList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._uvGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._uvList |
MDL0GroupNode BrawlLib.SSBB.ResourceNodes.MDL0Node._vertGroup |
List<ResourceNode> BrawlLib.SSBB.ResourceNodes.MDL0Node._vertList |
|
static |
Dictionary<string, Dictionary<int, List<int> > > BrawlLib.SSBB.ResourceNodes.MDL0Node.VIS0Indices |
|
get |
|
get |
Implements BrawlLib.OpenGL.IRenderedObject.
|
getset |
|
get |
Implements BrawlLib.Modeling.IModel.
|
get |
|
get |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
Implements BrawlLib.OpenGL.IRenderedObject.
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
Implements BrawlLib.Modeling.IModel.
|
getset |
Implements BrawlLib.OpenGL.IRenderedObject.
|
get |
|
getset |
Implements BrawlLib.Modeling.IModel.
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
Implements BrawlLib.Modeling.IModel.
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
Implements BrawlLib.Modeling.IModel.
|
getset |
|
getset |
Implements BrawlLib.Modeling.IModel.
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
get |
EventHandler BrawlLib.SSBB.ResourceNodes.MDL0Node.DrawCallsChanged |