C# 클래스 ColladaSlimDX.Utils.COLLADAUtil

파일 보기 프로젝트 열기: vvvv/ColladaSlimDX

공개 메소드들

메소드 설명
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