C# Class UnityRose.Formats.ZMD

ZMD class.
Mostrar archivo Open project: osROSE/UnityRose Class Usage Examples

Public Methods

Method Description
Load ( string filePath ) : void

Loads the specified file. If resource is found, it is loaded as a Text asset. Otherwise, the function assumes this is an editor load and reads from disk

ZMD ( ) : System.Collections.Generic

Initializes a new instance of the ZMO class.

ZMD ( string filePath ) : System.Collections.Generic

Initializes a new instance of the ZMD class.

buildSkeleton ( GameObject parent, bool renderSkeleton = false ) : void
findBone ( string name ) : BoneNode
findDummy ( string name ) : BoneNode

Private Methods

Method Description
Load ( ) : void

Loads the specified file.

Method Details

Load() public method

Loads the specified file. If resource is found, it is loaded as a Text asset. Otherwise, the function assumes this is an editor load and reads from disk
public Load ( string filePath ) : void
filePath string The file path of the Text Asset resource (without extension) or file (with extension) to load
return void

ZMD() public method

Initializes a new instance of the ZMO class.
public ZMD ( ) : System.Collections.Generic
return System.Collections.Generic

ZMD() public method

Initializes a new instance of the ZMD class.
public ZMD ( string filePath ) : System.Collections.Generic
filePath string The file path.
return System.Collections.Generic

buildSkeleton() public method

public buildSkeleton ( GameObject parent, bool renderSkeleton = false ) : void
parent UnityEngine.GameObject
renderSkeleton bool
return void

findBone() public method

public findBone ( string name ) : BoneNode
name string
return BoneNode

findDummy() public method

public findDummy ( string name ) : BoneNode
name string
return BoneNode