Creates a DropShadow component on the provided sceneObject and
initializes default state values.
Visual construction arguments including sceneObject.
Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_Protected_ProtectedinitializedProtectedmanagedProtectedneedsReadonlyonReadonlyonReadonlyonReadonlyonProtectedprevProtectedvisualGets the duration of the animation.
The duration of the animation in milliseconds.
Sets the duration of the animation.
The duration of the animation in milliseconds.
Sets the base color of the drop shadow visual.
A vec4 representing the RGBA color.
Gets the toggled default color for the visual element.
A vec4 representing the current toggled default color.
Sets the toggled default color for the visual element.
A vec4 representing the RGBA color to be used as the toggled default color.
Gets the toggled hovered color for the visual element.
A vec4 representing the current toggled hovered color.
Sets the toggled hovered color for the visual element.
A vec4 representing the RGBA color to be used as the toggled hovered color.
Gets the toggled triggered color for the visual element.
A vec4 representing the current toggled triggered color.
Sets the toggled triggered color for the visual element.
A vec4 representing the RGBA color to be used as the toggled triggered color.
Gets the border size of the drop shadow visual.
The border size of the drop shadow visual.
Gets the corner radius of the drop shadow visual.
The corner radius in world units.
Sets the corner radius of the drop shadow visual.
The corner radius in world units.
Gets whether the default state should apply position changes.
true if the default state should apply position changes; otherwise, false.
Sets whether the default state should apply position changes and initializes the visual states.
A boolean indicating whether the default state should apply position changes.
Gets whether the default state should apply scale changes.
true if the default state should apply scale changes; otherwise, false.
Sets whether the default state should apply scale changes and initializes the visual states.
A boolean indicating whether the default state should apply scale changes.
Gets the position of the visual element when it is in an error state.
A vec3 representing the current error position.
Sets the position of the visual element when it is in an error state.
A vec3 object representing the new position for the error state.
Gets the scale applied when the visual is in an error state.
A vec3 representing the current error scale.
Sets the scale for the error visualization and initializes its visual states.
A vec3 object representing the scale to be applied to the error visualization.
Gets whether the drop shadow visual supports a border.
Whether the drop shadow visual supports a border.
Gets whether the hover state should apply position changes.
true if the hovered state should apply position changes; otherwise, false.
Sets whether the hovered state should apply position changes and initializes the visual states.
A boolean indicating whether the hovered state should apply position changes.
Gets whether the hovered state should apply scale changes.
true if the hovered state should apply scale changes; otherwise, false.
Sets whether the hovered state should apply scale changes and initializes the visual states.
A boolean indicating whether the hovered state should apply scale changes.
Gets the position of the visual element when it is in a inactive state.
A vec3 representing the current inactive position.
Sets the position of the visual element when it is in a inactive state.
A vec3 object representing the new position for the inactive state.
Gets the scale applied when the visual is in a inactive state.
A vec3 representing the current inactive scale.
Sets the scale to be applied when the visual is in a inactive state and initializes its visual states.
A vec3 object representing the scale to apply in the inactive state.
Gets whether the inactive state should apply position changes.
true if the inactive state should apply position changes; otherwise, false.
Sets whether the inactive state should apply position changes and initializes the visual states.
A boolean indicating whether the inactive state should apply position changes.
Gets whether the inactive state should apply scale changes.
true if the inactive state should apply scale changes; otherwise, false.
Sets whether the inactive state should apply scale changes and initializes the visual states.
A boolean indicating whether the inactive state should apply scale changes.
Gets the underlying render visual for the drop shadow visual.
The render mesh visual used to render the shadow.
Gets the associated SceneObject instance.
The SceneObject associated with this visual.
Determines whether the color should change when transition to a new state.
A boolean value indicating if the color change is enabled.
Sets whether to enable the color changing behavior for the visual.
A boolean indicating whether the color change is enabled (true) or disabled (false).
Determines whether the visual element should scale when transitioning to a new state
true if the visual element should scale, otherwise false.
Indicates whether the visual element should be translated when transitioning to a new state.
true if the visual element should be translated; otherwise, false.
Sets the size of the drop shadow visual.
Updates both the internal _size and the dropShadow.size properties.
A vec3 representing the dimensions of the drop shadow visual.
Gets whether the toggled default state should apply position changes.
true if the toggled default state should apply position changes; otherwise, false.
Sets whether the toggled default state should apply position changes and initializes the visual states.
A boolean indicating whether the toggled default state should apply position changes.
Gets whether the toggled default state should apply scale changes.
true if the toggled default state should apply scale changes; otherwise, false.
Sets whether the toggled default state should apply scale changes and initializes the visual states.
A boolean indicating whether the toggled default state should apply scale changes.
Gets the toggled hovered scale of the visual element.
A vec3 representing the current toggled hovered scale.
Sets the scale to be applied when the visual is toggled and hovered.
A vec3 representing the new scale to apply when toggled and hovered.
Gets whether the toggled hovered state should apply position changes.
true if the toggled hovered state should apply position changes; otherwise, false.
Sets whether the toggled hovered state should apply position changes and initializes the visual states.
A boolean indicating whether the toggled hovered state should apply position changes.
Gets whether the toggled hovered state should apply scale changes.
true if the toggled hovered state should apply scale changes; otherwise, false.
Sets whether the toggled hovered state should apply scale changes and initializes the visual states.
A boolean indicating whether the toggled hovered state should apply scale changes.
Gets whether the toggled triggered state should apply position changes.
true if the toggled triggered state should apply position changes; otherwise, false.
Sets whether the toggled triggered state should apply position changes and initializes the visual states.
A boolean indicating whether the toggled triggered state should apply position changes.
Gets whether the toggled triggered state should apply scale changes.
true if the toggled triggered state should apply scale changes; otherwise, false.
Sets whether the toggled triggered state should apply scale changes and initializes the visual states.
A boolean indicating whether the toggled triggered state should apply scale changes.
Gets the transform associated with this visual.
The current transform of the visual.
Gets whether the triggered state should apply position changes.
true if the triggered state should apply position changes; otherwise, false.
Sets whether the triggered state should apply position changes and initializes the visual states.
A boolean indicating whether the triggered state should apply position changes.
Gets whether the triggered state should apply scale changes.
true if the triggered state should apply scale changes; otherwise, false.
Sets whether the triggered state should apply scale changes and initializes the visual states.
A boolean indicating whether the triggered state should apply scale changes.
ProtectedvisualGets the map of visual states for the drop shadow visual.
The map of visual states.
ProtectedapplyProtectedapplyCancels in-flight animations and destroys base resources.
Initializes the visual component by setting up its initial scale and position, and preparing its visual states. This method is typically called during the setup phase to ensure the visual component is ready for use.
Applies a new visual state and animates stateful properties.
Updates the current sizeOffset and spread based on the target state
using this visual's animateDuration easing.
The visual state to apply.
ProtectedupdateProtectedupdateProtectedupdateProtectedupdate
Visual implementation that renders a drop shadow quad using the underlying
DropShadowcomponent. Adds support for statefulsizeOffsetandspreadwith animated transitions.