C# Класс ColladaSlimDX.Utils.COLLADAUtil

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetAllInputs() публичный статический Метод

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
Результат List

GetInput() публичный статический Метод

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.
Результат List

GetNodeByName() публичный статический Метод

public static GetNodeByName ( Document root, string sid ) : Document.Node
root Document
sid string
Результат Document.Node

GetPValue() публичный статический Метод

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.
Результат int

GetPositionInput() публичный статический Метод

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.
Результат Document.Input

GetSourceElement() публичный статический Метод

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.
Результат float[]

GetTargetNodeId() публичный статический Метод

public static GetTargetNodeId ( Document doc, string targetAddress ) : string
doc Document
targetAddress string
Результат string

Log() публичный статический Метод

public static Log ( COLLADALogType type, string msg ) : void
type COLLADALogType
msg string
Результат void

Log() публичный статический Метод

public static Log ( ColladaException e ) : void
e ColladaException
Результат void

Log() публичный статический Метод

public static Log ( Exception e ) : void
e System.Exception
Результат void

Log() публичный статический Метод

public static Log ( string msg ) : void
msg string
Результат void