Méthode | Description | |
---|---|---|
export ( RenderBase model, string fileName, int modelIndex, int skeletalAnimationIndex = -1 ) : void |
Exports a Model to the Source Model format. Note: SMD model specification doesnt support Model and Skeletal Animation on the same SMD. See: https://developer.valvesoftware.com/wiki/Studiomdl_Data for more information.
|
|
import ( string fileName ) : RenderBase.OModelGroup |
Imports a Source Model from file.
|
Méthode | Description | |
---|---|---|
getMaterial ( string name ) : RenderBase.OMaterial | ||
getString ( float value ) : string | ||
readLine ( |
public static export ( RenderBase model, string fileName, int modelIndex, int skeletalAnimationIndex = -1 ) : void | ||
model | RenderBase | The Model that will be exported |
fileName | string | The output File Name |
modelIndex | int | Index of the model to be exported |
skeletalAnimationIndex | int | (Optional) Index of the skeletal animation |
Résultat | void |
public static import ( string fileName ) : RenderBase.OModelGroup | ||
fileName | string | The complete file name |
Résultat | RenderBase.OModelGroup |