Skip to main content

Class TimelineSystem

Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll

public sealed class TimelineSystem : SafeHandle, IDisposable

Inheritance​

object ← CriticalFinalizerObject ← SafeHandle ← TimelineSystem

Implements​

IDisposable

Inherited Members​

SafeHandle.Close(), SafeHandle.DangerousAddRef(ref bool), SafeHandle.DangerousGetHandle(), SafeHandle.DangerousRelease(), SafeHandle.Dispose(), SafeHandle.SetHandleAsInvalid(), SafeHandle.IsClosed, SafeHandle.IsInvalid, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

TimelineSystem()​

public TimelineSystem()

Properties​

IsInvalid​

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override bool IsInvalid { get; }

Property Value​

bool

Methods​

AddEasingTrack(uint, TimelineEasingTrackDescriptor)​

public uint AddEasingTrack(uint groupId, TimelineEasingTrackDescriptor descriptor)

Parameters​

groupId uint

descriptor TimelineEasingTrackDescriptor

Returns​

uint

AddSpringTrack(uint, TimelineSpringTrackDescriptor)​

public uint AddSpringTrack(uint groupId, TimelineSpringTrackDescriptor descriptor)

Parameters​

groupId uint

descriptor TimelineSpringTrackDescriptor

Returns​

uint

CreateGroup(TimelineGroupConfig)​

public uint CreateGroup(TimelineGroupConfig config)

Parameters​

config TimelineGroupConfig

Returns​

uint

DestroyGroup(uint)​

public void DestroyGroup(uint groupId)

Parameters​

groupId uint

PauseGroup(uint)​

public void PauseGroup(uint groupId)

Parameters​

groupId uint

PlayGroup(uint)​

public void PlayGroup(uint groupId)

Parameters​

groupId uint

ReleaseHandle()​

When overridden in a derived class, executes the code required to free the handle.

protected override bool ReleaseHandle()

Returns​

bool

true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.

RemoveTrack(uint)​

public void RemoveTrack(uint trackId)

Parameters​

trackId uint

ResetTrack(uint)​

public void ResetTrack(uint trackId)

Parameters​

trackId uint

SetGroupSpeed(uint, float)​

public void SetGroupSpeed(uint groupId, float speed)

Parameters​

groupId uint

speed float

SetSpringTarget(uint, float)​

public void SetSpringTarget(uint trackId, float targetValue)

Parameters​

trackId uint

targetValue float

Tick(TimeSpan, SceneCache?, Span<TimelineSample>)​

public int Tick(TimeSpan delta, SceneCache? cache, Span<TimelineSample> samples)

Parameters​

delta TimeSpan

cache SceneCache?

samples Span<TimelineSample>

Returns​

int