Class AnimationInputSettings
Base class that represents a RecorderSetting Input that can be recorded from. (like a Camera, a RenderTexture...)
Inherited Members
Namespace: UnityEditor.Recorder.Input
Assembly: Unity.Recorder.Editor.dll
Syntax
[Serializable]
public class AnimationInputSettings : RecorderInputSettings
Properties
ClampedTangents
If true, the Recorder sets the generated animation key tangents to ClampedAuto, else to Auto (legacy). Clamped tangents are useful to prevent curve overshoots when the animation data is discontinuous.
Declaration
public bool ClampedTangents { get; set; }
Property Value
Type | Description |
---|---|
bool |
InputType
Declaration
protected override Type InputType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Recursive
Use this property to record all the gameObject hierarchy (True) or not (False).
Declaration
public bool Recursive { get; set; }
Property Value
Type | Description |
---|---|
bool |
SimplyCurves
Sets the keyframe reduction level to use to compress the recorded animation curve data.
Declaration
public AnimationInputSettings.CurveSimplificationOptions SimplyCurves { get; set; }
Property Value
Type | Description |
---|---|
AnimationInputSettings.CurveSimplificationOptions |
gameObject
Indicates the GameObject to record from.
Declaration
public GameObject gameObject { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
Methods
AddComponentToRecord(Type)
Adds a Component to record from the GameObject.
Declaration
public void AddComponentToRecord(Type componentType)
Parameters
Type | Name | Description |
---|---|---|
Type | componentType | The type of the Component. |
CheckForErrors(List<string>)
Declaration
protected override void CheckForErrors(List<string> errors)
Parameters
Type | Name | Description |
---|---|---|
List<string> | errors |
Overrides
ClearExposedReference()
Removes the binding value for the current key.
Declaration
public void ClearExposedReference()
DuplicateExposedReference()
Duplicates the existing Scene binding key under a new unique key (useful when duplicating the Recorder input).
Declaration
public void DuplicateExposedReference()