Protected
constructorIf disabled, the Component will stop enacting its behavior.
Changes swivel behavior based on the object's height relative to the camera.
Readonly
isReturns whether the object that the Manipulate Component is on is currently being manipulated
The maximum distance the object can travel from the user.
The maximum height of the object.
The maximum size the object can scale to.
The minimum distance the object can be from the user.
The minimum height of the object.
The minimum size the object can shrink to.
Readonly
onEvent fired when manipulation ends.
Readonly
onEvent fired when manipulation starts.
Multiplier for swivel rotation speed. For example, a value of 0.5 will cut rotation speed in half, and a value of 2.0 will double rotation speed.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueRepositions the object to be within the bounds of minDistance
, maxDistance
.
Destroys the component.
Enables or disables the specified ManipulateType for this ManipulateComponent.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Checks for an intersection point between the manipulation plane and a line extending from the camera through the specified screen space point. The screen point is passed in as (x, y) with both values ranging from ([0-1], [0-1]), (0,0) being left-top and (1,1) being right-bottom. The result is returned as a ManipulateFrameIntersectResult object.
Returns whether the specified ManipulateType is enabled for this ManipulateComponent.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Handles input information from user touch input via the InteractionComponent to control the Scale, Rotation, and Translation of objects.
Example