Class TinyAnimation
Inheritance
TinyAnimation
Syntax
public static class TinyAnimation
Methods
GetClipsCount(World, Entity)
Declaration
public static int GetClipsCount(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
GetCurrentClipIndex(World, Entity)
Declaration
public static int GetCurrentClipIndex(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
GetCycleOffset(World, Entity)
Declaration
public static float GetCycleOffset(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
GetDuration(World, Entity)
Declaration
public static float GetDuration(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
GetDuration(World, Entity, Int32)
Declaration
public static float GetDuration(World world, Entity entity, int clipIndex)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Int32 |
clipIndex |
|
Returns
GetDurations(World, Entity, Allocator)
Declaration
public static NativeArray<float> GetDurations(World world, Entity entity, Allocator allocator)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Allocator |
allocator |
|
Returns
Type |
Description |
NativeArray<Single> |
|
GetTime(World, Entity)
Declaration
public static float GetTime(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
GetWrapMode(World, Entity)
Declaration
public static WrapMode GetWrapMode(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
IsPaused(World, Entity)
Declaration
public static bool IsPaused(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
IsPlaying(World, Entity)
Declaration
public static bool IsPlaying(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
IsStopped(World, Entity)
Declaration
public static bool IsStopped(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Returns
Pause(World, Entity)
Declaration
public static void Pause(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Play(World, Entity)
Declaration
public static void Play(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
SelectClip(World, Entity, Int32)
Declaration
public static void SelectClip(World world, Entity entity, int clipIndex)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Int32 |
clipIndex |
|
SelectNextClip(World, Entity)
Declaration
public static void SelectNextClip(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
SelectPreviousClip(World, Entity)
Declaration
public static void SelectPreviousClip(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
SetCycleOffset(World, Entity, Single)
Declaration
public static void SetCycleOffset(World world, Entity entity, float cycleOffset)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Single |
cycleOffset |
|
SetTime(World, Entity, Single)
Declaration
public static void SetTime(World world, Entity entity, float newTime)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
Single |
newTime |
|
SetWrapMode(World, Entity, WrapMode)
Declaration
public static void SetWrapMode(World world, Entity entity, WrapMode wrapMode)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|
WrapMode |
wrapMode |
|
Stop(World, Entity)
Declaration
public static void Stop(World world, Entity entity)
Parameters
Type |
Name |
Description |
World |
world |
|
Entity |
entity |
|