DOMTransformExtended

From Virtual World Web Wiki
Revision as of 16:35, 21 October 2016 by Spark5 (Talk | contribs) (Documentation for the DOMTransformExtended class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Remarks [edit]

Properties

string AttachToBone {get; set;} // Via attribution [[DOMTransform]]
The name of a bone in this node's parent's skeleton to which this object should be attached
bool Clickable {get; set;} // Via attribution [[DOMTransform]]
Marks this object as clickable, mainly used node types derived from DOMRenderable or DOMVolume
ResourceValue Cursor {get; set;} // Via attribution [[DOMTransform]]
The ResourceValue for the hover-over mouse cursor to use
Single CursorDistance {get; set;} // Via attribution [[DOMTransform]]
The distance in units before which the object can be hovered over with the mouse causing cursor change and/or tooltip activation (if configured)
bool CursorMiddleHotspot {get; set;} // Via attribution [[DOMTransform]]
True if the center of the cursor image should be used as the hotspot... oh dear why is this not an Point2D offset...
bool ExcludeTransform {get; set;} // Via attribution [[DOMTransform]]
When true, this transform's value is excluded when calculating child node transforms
Point3D Position {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the transform's position component
Single RX {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the X part of the transform's rotation component
Single RY {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the Y part of the transform's rotation component
Single RZ {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the Z part of the transform's rotation component
Point3D Rotation {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the transform's rotation component
Point3D RotationAxis {get; set;} // Via attribution [[DOMTransform]]
A normal expressing the direction of rotation
Single RotationSpeed {get; set;} // Via attribution [[DOMTransform]]
The speed by which to multiply the RotationAxis
Single SX {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the X part of the transform's scale component
Single SY {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the Y part of the transform's scale component
Single SZ {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the Z part of the transform's scale component
Point3D Scale {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the transform's scale component
bool Selectable {get; set;} // Via attribution [[DOMTransform]]
Marks this object as Selectable, mainly used node types derived from DOMRenderable or DOMVolume
bool Targetable {get; set;} // Via attribution [[DOMTransform]]
Marks this object as targetable, mainly used node types derived from DOMRenderable or DOMVolume
string Tooltip {get; set;} // Via attribution [[DOMTransform]]
The text for a hover-over tool-tip
ResourceValue TooltipIcon {get; set;} // Via attribution [[DOMTransform]]
The ResourceValue for a hover-over tool-tip's icon
string TooltipTitle {get; set;} // Via attribution [[DOMTransform]]
The text for a hover-over tool-tip's title
DOMTransformExtended TransformParent {get; set;}
long TransformParentID {get; set;} // Via attribution [[DOMTransform]]
Sets the ID of another object in the same view that will be used as this object's transform parent instead of the object's natural position in the DOM hierarchy
Point3D Velocity {get; set;} // Via attribution [[DOMTransform]]
If this object is moving, this is how fast (in units per second)
Single X {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the X part of the transform's position component
Single Y {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the Y part of the transform's position component
Single Z {get; set;} // Via attribution [[DOMTransform]]
Gets or sets the Z part of the transform's position component

Events

OnClick(EventHandler<FlexibleEventArgs>)
OnRightClick(EventHandler<FlexibleEventArgs>)

Methods

bool MoveTo(Single x, Single y, Single z, Single speed, JSFlexibleFunction func)
ReturnType PathTo(Single targetX, Single targetY, Single targetZ, Single speed, JSFlexibleFunction callback)
ReturnType PathToTarget(DOMTransformExtended target, Single speed, JSFlexibleFunction callback)
ReturnType PathToVector(JSVector3 target, Single speed, JSFlexibleFunction callback)
ReturnType PhysicsFollow(DOMTransformExtended target, Single minDistance, Single maxDistance)
ReturnType PhysicsPathTo(Single targetX, Single targetY, Single targetZ, Single speed, JSFlexibleFunction callback)
ReturnType PhysicsPathToTarget(DOMTransformExtended target, Single speed, JSFlexibleFunction callback)
ReturnType PhysicsPathToVector(JSVector3 target, Single speed, JSFlexibleFunction callback)
ReturnType PhysicsProjectile(Single directionX, Single directionY, Single directionZ, Single speed, bool gravity, Single maxDistance)
ReturnType PhysicsProjectileVector(JSVector3 direction, Single speed, bool gravity, Single maxDistance)
ReturnType PhysicsSpawn(Single radius, bool stack)
ReturnType ResetTransformParent(bool restoreLastPosition)
bool RotateTo(Single x, Single y, Single z, Single speed, JSFlexibleFunction func)
ReturnType RotateToFaceTarget(DOMTransformExtended target, Single speed, JSFlexibleFunction callback)
ReturnType SetPosition(Single x, Single y, Single z)
ReturnType SetRotation(Single x, Single y, Single z)
ReturnType SetScale(Single x, Single y, Single z)
ReturnType SetTransformParent(DOMTransformExtended target, JSVector3 position, JSVector3 rotation, JSVector3 scale)