Summary
Temporary scene management for the
Animancer.Editor.TransitionPreviewWindow
.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TransitionPreviewWindow.Scene"]
class Type type-node
Syntax
[Serializable]
public class TransitionPreviewWindow.Scene
Remarks
Documentation: Previews
Attributes
Type | Description |
---|---|
Serializable |
Properties
Name | Value | Summary |
---|---|---|
Animancer | AnimancerPlayable |
The
Animancer.AnimancerPlayable being used for the preview. |
EnvironmentInstance | GameObject |
An instance of the
Animancer.Editor.TransitionPreviewWindow.Settings.SceneEnvironment .
A child of the Animancer.Editor.TransitionPreviewWindow.Scene.PreviewSceneRoot .
|
ExpandedHierarchy | List |
A list of all objects with their child hierarchy expanded.
|
InstanceAnimators | Animator[] |
The
UnityEngine.Animator components attached to the Animancer.Editor.TransitionPreviewWindow.Scene.InstanceRoot and its children. |
InstanceRoot | Transform |
The root of the model in the preview scene. A child of the
Animancer.Editor.TransitionPreviewWindow.Scene.PreviewSceneRoot . |
OriginalRoot | Transform |
The original model which was instantiated to create the
Animancer.Editor.TransitionPreviewWindow.Scene.InstanceRoot . |
PreviewSceneRoot | Transform |
The root object in the preview scene.
|
Selected |
Animator |
The
UnityEngine.Animator component currently being used for the preview. |
Methods
Name | Value | Summary |
---|---|---|
DestroyModelInstance |
void |
Destroys the
Animancer.Editor.TransitionPreviewWindow.Scene.InstanceRoot . |
IsSceneObject |
bool |
Is the `obj` a
UnityEngine.GameObject in the preview scene? |
OnDestroy |
void |
Called by
Animancer.Editor.TransitionPreviewWindow.OnDestroy . |
OnDisable |
void |
Called by
Animancer.Editor.TransitionPreviewWindow.OnDisable . |
OnEnable |
void |
Initializes this
Animancer.Editor.TransitionPreviewWindow.Scene . |
OnGUI |
void |
Called when the window GUI is drawn.
|
On |
void |
Called when the target transition property is changed.
|
SetSelectedAnimator |
void |
Sets the
Animancer.Editor.TransitionPreviewWindow.Scene.SelectedInstanceAnimator . |