Constructor
Mesh file (*.pkmm) to use for the sampler.
Constructor
Mesh file (*.pkmm) to use for the sampler.
Animation file (*.pksa) to use for the sampler.
Returns the angular velocity of the mesh.
velocity
Returns the animation loop count.
loop count
Returns the animation loop start time.
begin time
Returns the animation loop end time.
end time
Returns the initial start time of the animation.
start time
Returns the animation file name.
animation file name
Returns the channels values being used for the mesh. Values are the Channel enum or'ed together.
channels
Returns the linear velocity of the mesh.
velocity
Returns the mesh file name.
mesh file name
Returns the scale for the shape.
Scale
Returns the sub-mesh index to use.
Sub-mesh index
Return the shape sampler type.
the type
Sets the angular velocity to apply to the mesh.
Velocity
Sets the animation file (*.pksa) to use for the sampler.
Animation file name
Sets custom params for controlling the timing of the animation. By default, the animation will play starting at time 0, go to the natural end of the animation, and loop forever.
The beginning of the animation loop.
The end of the animation loop. Must be >= beginTime. <0 will go to the natural end of the animation.
Where the animation will start when first played. Must be >= beginTime and <= endTime.
How many times the animation will loop. If < 0, will loop infinitely.
Sets which channels will be used for the mesh. Generally doesn't need to be called, as the channels will be set up correctly for the sampler.
Channel values or'ed together
Sets the linear velocity to apply to the mesh.
Velocity
Sets the mesh file (*.pkmm) to use for the sampler.
Mesh file name
Sets the shape scale. The scale will be applied evenly to all axes.
Scale
Sets the sub-mesh index to use, if the mesh has multiple sub-meshes. If the mesh contains both static and skinned sub-meshes, the index will start with the static meshes, and then go to the skinned meshes.
Sub-mesh index.
Generated using TypeDoc
Default constructor