C# Class ColladaSlimDX.Utils.COLLADAUtil

Afficher le fichier Open project: vvvv/ColladaSlimDX

Méthodes publiques

Méthode Description
GetAllInputs ( Document primitive ) : List

Helper function. Returns all the inputs of the primitive. Resolve the 'VERTEX' indirection case. The COLLADA document The "" we need the inputs from.

GetInput ( Document primitive, string semantic ) : List

Helper function. Returns inputs with specified semantic for specified primitive. Resolves the 'VERTEX' indirection case.

GetNodeByName ( Document root, string sid ) : Document.Node
GetPValue ( Document input, Document primitive, int index ) : int

Helper function, returns the p[] value for the given index

GetPositionInput ( Document mesh ) : Document.Input

Helper function, returns the "" that has the POSITION semantic

GetSourceElement ( Document doc, Document input, int index ) : float[]

Helper function, returns the element of a source for the given index

GetTargetNodeId ( Document doc, string targetAddress ) : string
Log ( COLLADALogType type, string msg ) : void
Log ( ColladaException e ) : void
Log ( Exception e ) : void
Log ( string msg ) : void

Method Details

GetAllInputs() public static méthode

Helper function. Returns all the inputs of the primitive. Resolve the 'VERTEX' indirection case. The COLLADA document The "" we need the inputs from.
public static GetAllInputs ( Document primitive ) : List
primitive Document
Résultat List

GetInput() public static méthode

Helper function. Returns inputs with specified semantic for specified primitive. Resolves the 'VERTEX' indirection case.
public static GetInput ( Document primitive, string semantic ) : List
primitive Document The "" we need the inputs from.
semantic string The semantic the inputs should have.
Résultat List

GetNodeByName() public static méthode

public static GetNodeByName ( Document root, string sid ) : Document.Node
root Document
sid string
Résultat Document.Node

GetPValue() public static méthode

Helper function, returns the p[] value for the given index
public static GetPValue ( Document input, Document primitive, int index ) : int
input Document The "" element we need the index of.
primitive Document The "" element the "" is from.
index int The index for which we need the p[] value.
Résultat int

GetPositionInput() public static méthode

Helper function, returns the "" that has the POSITION semantic
public static GetPositionInput ( Document mesh ) : Document.Input
mesh Document The "" element we need the POSITION from.
Résultat Document.Input

GetSourceElement() public static méthode

Helper function, returns the element of a source for the given index
public static GetSourceElement ( Document doc, Document input, int index ) : float[]
doc Document The COLLADA document
input Document The "" element we need the index of.
index int The index for which we need the value.
Résultat float[]

GetTargetNodeId() public static méthode

public static GetTargetNodeId ( Document doc, string targetAddress ) : string
doc Document
targetAddress string
Résultat string

Log() public static méthode

public static Log ( COLLADALogType type, string msg ) : void
type COLLADALogType
msg string
Résultat void

Log() public static méthode

public static Log ( ColladaException e ) : void
e ColladaException
Résultat void

Log() public static méthode

public static Log ( Exception e ) : void
e System.Exception
Résultat void

Log() public static méthode

public static Log ( string msg ) : void
msg string
Résultat void