Synced
AnimationPlaybackAllocator.Create
Section titled “AnimationPlaybackAllocator.Create”
- Encodes one owner-managed slot revision into an opaque playback handle.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Animation
Declaration
Section titled “Declaration”public Inno.Animation.AnimationPlaybackHandle Inno.Animation.AnimationPlaybackAllocator.Create(int slot, uint slotGeneration)Parameters
Section titled “Parameters”Parameter slot: The non-negative slot owned by the runtime.
Parameter slotGeneration: The non-zero revision used to reject reused slots.
Returns
Section titled “Returns”A playback handle that cannot alias a different allocator.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: The slot or its generation is invalid.