C# Class UnityRose.Formats.ZMD

ZMD class.
Afficher le fichier Open project: osROSE/UnityRose Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Load ( ) : void

Loads the specified file.

Method Details

Load() public méthode

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
Résultat void

ZMD() public méthode

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

ZMD() public méthode

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

buildSkeleton() public méthode

public buildSkeleton ( GameObject parent, bool renderSkeleton = false ) : void
parent UnityEngine.GameObject
renderSkeleton bool
Résultat void

findBone() public méthode

public findBone ( string name ) : BoneNode
name string
Résultat BoneNode

findDummy() public méthode

public findDummy ( string name ) : BoneNode
name string
Résultat BoneNode