Class AnimationPreview
Animation asset preview editor viewport.
Inheritance
System.Object
FlaxEngine.GUI.RenderOutputControl
AnimationPreview
Implements
System.IComparable
Namespace: FlaxEditor.Viewport.Previews
Assembly: FlaxEngine.CSharp.dll
Syntax
public class AnimationPreview : AnimatedModelPreview, IComparable, IDrawable, IEditorPrimitivesOwner
Constructors
AnimationPreview(Boolean)
Initializes a new instance of the AnimationPreview class.
Declaration
public AnimationPreview(bool useWidgets)
Parameters
System.Boolean
useWidgets
if set to |
Properties
RootMotion
Gets or sets a value indicating whether enable root motion.
Declaration
public bool RootMotion { get; set; }
Property Value
System.Boolean
|
Methods
Draw()
OnDestroy()
OnKeyDown(KeyboardKeys)
When key goes down
Declaration
public override bool OnKeyDown(KeyboardKeys key)
Parameters
KeyboardKeys
key
Key value |
Returns
System.Boolean
True if event has been handled, otherwise false |