ProtectedconstructorOptionalisInternalConstructor: booleanInvoked when the user chose to remove all selected properties.
Called when the resource dirty state changed.
StaticallowDetermines if imported clip can be modified.
Static ReadonlywindowThe default window content padding to be used for editor windows.
Static ReadonlywindowThe default window padding.
Checks whether the window the currently active window in its container. This means the window's tab is active or the window is the only one in its container.
Determines if the object selection can be changed.
The animation clip currently loaded on the window. Can be assigned externally to change the clip being edited on the window.
Gets the parent editor window this window is docked in. Can be null (for example when window is in the process of dragging and not visible).
Returns the height of the window contents in points.
Returns the height of the window contents in pixels.
Returns the width of the window contents in points.
Returns the width of the window contents in pixels.
Returns the DPI scale factor.
Sampling rate of the animation in frames per second. Determines granularity at which positions keyframes can be placed.
Returns the height of the window in points.
Sets the height of the window in pixels.
Gets the icon for the window.
Determines whether the window has been destroyed or not.
Makes the window in or out focus. Surface can only be made in focus if it is active.
Checks whether the window currently has keyboard focus.
Checks has the TypeScript window been initialized.
Determines is the mouse pointer currently hovering over the editor window.
Returns the X position of the window in screen coordinates in points.
Specifies the local shortcut context. This context will be automatically disabled whenever the user switches focus from the context.
Gets a unique name for this window. This name will be used for referencing the window by other systems.
Gets the parent EditorWindow.
Sets the current picked scene object.
Gets the RenderWindow associated with this EditorWindow.
The current scene instance.
The SceneSelection state to be used.
Specifies the global shortcut context. This context will be always enabled as long as the window is active.
Checks if the window should handle input. This can be used by window implementations to check before handling input events.
Returns the X position of the window in screen coordinates in points.
Returns the width of the window in points.
Sets the width of the window in pixels.
Registers a new animation property.
Path of the field.
Type of the field (float, vector, etc.)
Add support to the given Drop data type.
The type of the data from OS to support.
The text representing the action of dropping into this window.
Closes the window but keeps it on the dock manager. Calling raise will make it visible again.
Iterates over all elements of a property and calls the provided action for every element with the current value of the property. Only works with floating point (any dimension), integer, color and boolean property types. Since reported values are always floating point booleans are encoded as -1.0f for false and 1.0f for true, and integers are converted to floating point.
Property whose elements to iterate over.
Callback to trigger for each element. The callback receives the current value of the property's element and the sequential index of the element.
Iterates over all element of a property, calls the provided action which returns a new value to be assigned to the property element. Only works with floating point (any dimension), integer, color and boolean property types. Since reported values are always floating point booleans are encoded as -1.0f for false and 1.0f for true, and integers are converted to floating point.
Property whose elements to iterate over.
Callback to trigger for each element. The callback receives the current value of the property's element and the sequential index of the element.
Gets the action name for the given OS drop type. Only relevant if window supports the type.
The OS type of the drag and drop to get the action name from.
ProtectedinitializeReturns whether or not this window supports the given OS data type drop.
Refreshes the contents of the curve and property display by loading animation curves from the provided animation clip.
Clip containing the animation to load.
ProtectedonIterates over all curve path fields and records their current state. If the state differs from the current curve values, new keyframes are added.
Time for which to record the state, in seconds.
True if any changes were recorded, false otherwise.
Selects a new animation property field, making the curve display in the curve display UI element.
Path of the field to display.
The field selection mode.
ProtectedupdateStaticopenOpens an editor window. If window is already open it returns the existing instance.
Type of window to open.
Instance of the open window.
ReadonlyonTriggered whenever window size changes.
ReadonlyonDPIChangedTriggered whenever window's screen dpi changes.
ReadonlyonTriggered whenever window position changes.
ReadonlyonTriggered whenever window receives or loses focus.
ReadonlyonOSDropTriggered when the user do a OS drag on top of this window.
ReadonlyonOSDropTriggered when the user leaves the mouse from a OS drop.
ReadonlyonOSDropTriggered when the user actually drops something on top of this window.
Readonlyon
The AnimationEditorWindow class implements a DockableEditorWindow. The window allows the user to manipulate keyframes of animation curves, add/remove curves from an animation clip, and manipulate animation events.