C# Class OOGL.Animation.Sample

Animation sample used in skeletal animation Thread safety - This class is thread safe.
Show file Open project: tpb3d/TPB3D Class Usage Examples

Public Properties

Property Type Description
endTime float
name string
playMode PlayMode
startTime float

Public Methods

Method Description
FindSample ( Sample samples, string name ) : Sample
Load ( string fileName ) : OOGL.Animation.Sample[]
Sample ( string name, float startTime, float endTime, PlayMode playMode ) : System
Sample ( string name, int startFrame, int endFrame, PlayMode playMode ) : System

Method Details

FindSample() public static method

public static FindSample ( Sample samples, string name ) : Sample
samples Sample
name string
return Sample

Load() public static method

public static Load ( string fileName ) : OOGL.Animation.Sample[]
fileName string
return OOGL.Animation.Sample[]

Sample() public method

public Sample ( string name, float startTime, float endTime, PlayMode playMode ) : System
name string
startTime float
endTime float
playMode PlayMode
return System

Sample() public method

public Sample ( string name, int startFrame, int endFrame, PlayMode playMode ) : System
name string
startFrame int
endFrame int
playMode PlayMode
return System

Property Details

endTime public property

public float endTime
return float

name public property

public string name
return string

playMode public property

public PlayMode playMode
return PlayMode

startTime public property

public float startTime
return float