TransitionPreviewWindow.

TransitionPreviewWindow.Scene Class

Summary

Temporary scene management for the Animancer.Editor.Previews.TransitionPreviewWindow.
Assembly
Animancer.dll
Namespace
Animancer.Editor.Previews
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["AnimancerPreviewObject.IEventHandler"] click Interface0 "/animancer/api/Animancer.Editor.Previews/IEventHandler" Type["TransitionPreviewWindow.Scene"] class Type type-node

Syntax

[Serializable]
public class TransitionPreviewWindow.Scene : AnimancerPreviewObject.IEventHandler

Remarks

Documentation: Previews

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
EnvironmentInstance GameObject
An instance of the Animancer.Editor.Previews.TransitionPreviewSettings.SceneEnvironment. A child of the Animancer.Editor.Previews.TransitionPreviewWindow.Scene.PreviewSceneRoot.
ExpandedHierarchy List<Transform>
A list of all objects with their child hierarchy expanded.
InstanceRoot Transform
The root of the model in the preview scene. A child of the Animancer.Editor.Previews.TransitionPreviewWindow.Scene.PreviewSceneRoot.
PreviewObject AnimancerPreviewObject
[UnityEngine.SerializeField] The object being previewed.
PreviewSceneRoot Transform
The root object in the preview scene.

Methods

Name Value Summary
IsSceneObject(Object) bool
Is the `obj` a UnityEngine.GameObject in the preview scene?
OnDestroy() void
Called by Animancer.Editor.Previews.TransitionPreviewWindow.OnDestroy.
OnDisable() void
Called by Animancer.Editor.Previews.TransitionPreviewWindow.OnDisable.
OnEnable() void
Initializes this Animancer.Editor.Previews.TransitionPreviewWindow.Scene.
OnGUI() void
Called when the window GUI is drawn.
OnTargetPropertyChanged() void
Called when the target transition property is changed.