TransitionPreviewSettings Class

Summary

Persistent settings for the Animancer.Editor.Previews.TransitionPreviewWindow.
Assembly
Animancer.dll
Namespace
Animancer.Editor.Previews
Interfaces
Base Types
graph BT Type-->Base0["AnimancerSettingsGroup"] click Base0 "/animancer/api/Animancer.Editor/AnimancerSettingsGroup" Base0-->Base1["Object"] Type-.->Interface0["IComparable<AnimancerSettingsGroup>"] Type["TransitionPreviewSettings"] class Type type-node

Syntax

[Serializable, InternalSerializableType]
public class TransitionPreviewSettings : AnimancerSettingsGroup, IComparable<AnimancerSettingsGroup>

Remarks

Documentation: Previews

Attributes

Type Description
SerializableAttribute
InternalSerializableTypeAttribute [Editor-Conditional] A UnityEngine.Scripting.APIUpdating.MovedFromAttribute which indicates that a type may have been previously defined in the pre-compiled Animancer Lite DLL in an earlier version of Animancer.

Properties

Name Value Summary
AutoClose bool
Should this window automatically close if the target object is destroyed?
static
DisplayName string
The user-firendly name to display in the Inspector.
FrameStep float
The amount of time that will be added by a single frame step (in seconds).
static
Index int
The index to display this data at in the Inspector.
Models List<GameObject>
The models previously used in the Animancer.Editor.Previews.TransitionPreviewWindow.
static
SceneEnvironment GameObject
If set, the default preview scene lighting will be replaced with this prefab.
static
SceneLighting bool
Should the scene lighting be enabled?
static
ShowSkybox bool
Should the skybox be visible?
static

Methods

Name Value Summary
AddModel(GameObject) void
Adds a `model` to the list of preview models.
static
CompareTo(AnimancerSettingsGroup) int
Compares the Animancer.Editor.AnimancerSettingsGroup.Index.
Inherited from AnimancerSettingsGroup
DoInspectorGUI() void
Draws the Inspector GUI for these settings.
static
DoPropertyField(string) SerializedProperty
Draws a UnityEditor.EditorGUILayout.PropertyField(UnityEditor.SerializedProperty,UnityEngine.GUILayoutOption[]) for a property in this group.
Inherited from AnimancerSettingsGroup
GetDefaultHumanoidIfAlreadyLoaded() GameObject
Returns the default preview object for Humanoid animations if it has already been loaded.
static
GetDefaultSpriteIfAlreadyCreated() GameObject
Returns the default preview object for UnityEngine.Sprite animations if it has already been created.
static
GetOrCreateDefaultHumanoid(Transform) GameObject
Returns the default preview object for Humanoid animations.
static
GetOrCreateDefaultSprite(Transform) GameObject
Returns the default preview object for UnityEngine.Sprite animations.
static
GetSerializedProperty(string) SerializedProperty
Returns a UnityEditor.SerializedProperty relative to the base of this group.
Inherited from AnimancerSettingsGroup
TrySelectBestModel(Object, Transform) Transform
Tries to choose the most appropriate model to use based on the properties animated by the `animationClipSource`.
static