TimelineGUI.

SnapToFrameRate(SerializableEventSequenceDrawer.Context, float) Method

Summary

Snaps the `seconds` value to the nearest multiple of the UnityEngine.AnimationClip.frameRate.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
TimelineGUI

Syntax

public void SnapToFrameRate(SerializableEventSequenceDrawer.Context context, ref float seconds)

Parameters

Name Type Description
context SerializableEventSequenceDrawer.Context
seconds float

Return Value

Type Description
void