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.
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 size of the border for the sphere visual in world space units.
The border size as a number. Currently, this always returns 0.
Sets the default icon for the sphere visual and updates its visual states.
The texture to be used as the default icon.
vec4 default second color
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.
Sets the error icon for the sphere visual and updates its visual states.
The texture to be used as the error icon.
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.
Indicates whether the sphere visual has a border.
The border property always returns false for the SphereVisual class,
Sets the hovered icon for the sphere visual and updates its visual states.
The texture to be used as the hovered icon.
vec4 hovered second color
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 RenderMeshVisual associated with the sphere.
The visual representation of the sphere's mesh.
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.
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.
vec4 toggled hovered second color
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.
vec4 triggered second color
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 scale factor for the back of the sphere along the z-axis.
The scale factor for the back of the sphere.
Sets the scale factor for the back of the sphere along the z-axis. This property adjusts the depth scaling of the sphere's back side.
The new scale factor for the z-axis back scaling.
ProtectedapplyProtectedapplyDestroys the current instance.
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.
Updates the state of the SphereVisual component and refreshes the associated icon.
The name of the state to set for the component.
ProtectedupdateProtectedupdate
The
SphereVisualclass represents a visual component in the form of a sphere. It extends theVisualclass and provides functionality for managing the sphere's appearance, size, and state transitions.