Click or drag to resize

PrismaticJointVisual Methods

The PrismaticJointVisual type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAddCustomProperty(String, Object, String)
Add a custom property to the visual. If the custom property already exists, then this call will update its value and description.
(Inherited from Visual.)
Public methodCode exampleAddCustomProperty(String, Type, Object, String)
Add a custom property to the visual. If the custom property already exists, then this call will update its value, type and description. <p> <strong>Note</strong>: For most uses, <code>AddCustomProperty(name,value,description)</code> or <code>AddSimpleProperty(name,value,description)</code> is more suitable, because there is no need to pass the type parameter; it is taken automatically from the value.
(Inherited from Visual.)
Public methodAddSimpleProperty(String, Object, String)
Add a custom property and also add a PropertyAlias for that new customer property making it appear as a Simple Property.
(Inherited from Visual.)
Public methodAddSimpleProperty(String, Type, Object, String)
Add a custom property and also add a PropertyAlias for that new customer property making it appear as a Simple Property.
(Inherited from Visual.)
Public methodAddTemporaryProperty(String, Object)
Create a temporary custom property that won't persistent on disk when saved. The property will also be hidden in the user interface.
(Inherited from Visual.)
Public methodAddTemporaryProperty(String, Object, String)
Create a temporary custom property that won't persistent on disk when saved.
(Inherited from Visual.)
Public methodAddTemporaryProperty(String, Type, Object)
Create a temporary custom property that won't persistent on disk when saved. The property will also be hidden in the user interface.
(Inherited from Visual.)
Public methodAddTemporaryProperty(String, Type, Object, String)
Create a temporary custom property that won't persistent on disk when saved. The property will also be hidden in the user interface.
(Inherited from Visual.)
Public methodCode exampleAlignToFloor
Align the mesh bounding box of the Visual to the default FloorVisual of the Scene.
(Inherited from Visual.)
Public methodCode exampleAlignToFloor(Visual)
Align the mesh bounding box of the Visual to the specified FloorVisual. Pass 'null' or the SceneVisual to align to the default FloorVisual of the Scene.
(Inherited from Visual.)
Public methodCancelAnimators
Cancel any animations that are currently in progress.
(Inherited from Visual.)
Public methodChildrenAsList
Return a List<Visual> representing all the children of this visual
(Inherited from Visual.)
Public methodCode exampleClone
Create a copy of a visual and its children placed in the top level scene.
(Inherited from Visual.)
Public methodConnectedVisual
Find the visual that is attached to the supplied connectorName.
(Inherited from Visual.)
Public methodCode exampleConnectTo(String, Visual, String)
Connect the visual to another visual with the corresponding connector names. This connection replaces any existing connections on this or the other visual's connector.
(Inherited from Visual.)
Public methodCode exampleConnectTo(String, Visual, String, Boolean)
Connect the visual to another visual with the corresponding connector names. This connection replaces any existing connections on this or the other visual's connector, unless allowMultiple is true, in which case this connection is added to existing connections.
(Inherited from Visual.)
Public methodContains
Is the visual contained by the visual tree from this point down?
(Inherited from Visual.)
Public methodContainsChild
Is the child a direct child of the visual.
(Inherited from Visual.)
Protected methodCreateJoint (Overrides JointVisualCreateJoint.)
Public methodCreatePhysics (Inherited from JointVisual.)
Public methodCustomPropertyDefined
Determine whether a given custom property name is defined.
(Inherited from Visual.)
Public methodStatic memberDefaultFactory
Used by the catalog New menu to create a new visual of this type.
Public methodDelete
Delete this visual. If it is in a Document, it is removed from the document as well.
(Inherited from Visual.)
Public methodCode exampleDisconnect
Disconnect any connections on the supplied connector name.
(Inherited from Visual.)
Public methodCode exampleFadeToColor
Changes the color over a given time. This method blocks the current script until the transition is complete.
(Inherited from MeshObject.)
Public methodFadeToColorDeep
Animate the primary color of a visual and all its descendants in a given time.
(Inherited from Visual.)
Public methodFadeToMultipleColors
Changes the set of material colors over a given time. This method blocks the current script until the transition is complete.
(Inherited from MeshObject.)
Public methodCode exampleFadeToTransparency
Change the transparency over a given time period. Note that this may have no effect if the visual has a texture in its material.
(Inherited from MeshObject.)
Public methodFadeToTransparencyDeep
Animate the transparency of a visual and all its descendants in a given time.
(Inherited from Visual.)
Public methodFilteredChildren
Return the collection of child Visuals that match the given predicate.
(Inherited from Visual.)
Public methodFilteredDescendants
Return all visuals below this point in the Visual hierarchy that match the given predicate.
(Inherited from Visual.)
Public methodFindChild
Look through children and their children to find the first visual of a given name. Breadth first search.
(Inherited from Visual.)
Public methodFindConnector
Find a named connector on a conveyor object, e.g. "Start"
(Inherited from Visual.)
Public methodFindCreateConnector
Find or create a connector of the supplied name.
(Inherited from Visual.)
Public methodFindCustomProperty
Find a custom property by name if it exists. Otherwise return null.
(Inherited from Visual.)
Public methodFindDotNetType (Inherited from Visual.)
Public methodFindFirstOfType
Like FindType except it return the first instance of that type.
(Inherited from Visual.)
Public methodFindImmediateChild
Look through children to find a named visual.
(Inherited from Visual.)
Public methodFindImmediateChildren
Look through children to find all immediate children with a given name.
(Inherited from Visual.)
Public methodFindImmediateType(Type)
Find all the objects in the Children of type Type (immediate children only)
(Inherited from Visual.)
Public methodFindImmediateType(Type, IList)
Find all the objects in the Children of type Type (immediate children only)
(Inherited from Visual.)
Public methodFindParent(Type)
Go back up through the parents of visuals to find a particular parent type.
(Inherited from Visual.)
Public methodFindParent(PredicateVisual)
Go back up through the parents of visuals to find a particular parent that matches the supplied predicate.
(Inherited from Visual.)
Public methodFindType(Type)
Find all the objects in the Descendants of type Type (all descendants)
(Inherited from Visual.)
Public methodFindType(Type, IList)
Find all the objects in the Descendants of type Type (all descendants)
(Inherited from Visual.)
Public methodFindVisualType
Find all the visuals that have their Type field set to 'type'.
(Inherited from Visual.)
Public methodFreeze
Hold the load in one position by making it kinematic.
(Inherited from Visual.)
Public methodGetChildRigidBodyList
If looking for child rigid bodies to create a joint for stop here as the joint visual is in charge of joints.
(Inherited from JointVisual.)
Public methodGetCustomProperty
Get the container class for a custom property, or null if it doesn't exist.
(Inherited from Visual.)
Public methodGetCustomPropertyValue(String)
Get the value of a custom property, or null if it doesn't exist.
(Inherited from Visual.)
Public methodGetCustomPropertyValueT(String, T)
Get the value of a custom property, or a defaultValue if it doesn't exist.
(Inherited from Visual.)
Public methodGoToInitialPosition
Set the Location and Rotation of the Visual to be the same as the InitialLocation and InitialRotation.
(Inherited from Visual.)
Public methodGoToInitialRotation
Set the Rotation of the Visual to be the same as the InitialRotation. The Location remains unchanged.
(Inherited from Visual.)
Public methodCode exampleHasCustomProperty
Determines whether a custom property has been defined or not.
(Inherited from Visual.)
Protected methodInitializeJoint (Overrides JointVisualInitializeJoint(PhysicsJoint).)
Public methodIsAncestorOf
Is this Visual a parent, grandparent, great grandparent etc. of the potentialChild.
(Inherited from Visual.)
Public methodIsDeleted
Determine if the Visual been deleted.
(Inherited from Visual.)
Public methodMoveToInitialPosition
Move to the InitialPosition and InitialRotation.
(Inherited from Visual.)
Public methodNotifyJointsChanged (Inherited from JointVisual.)
Public methodNotifyOnMouseUp (Inherited from Visual.)
Public methodNotifyParentsOfHierarchyChange
A child visual has been inserted or removed from the hierarchy further down.
(Inherited from JointVisual.)
Public methodPopRoutingTarget
Pop a routing target from the current routing target stack, making the next target down the stack the new current routing target. Remove this visual from the previous target's custom property called "RoutingTargetAllocators".
(Inherited from Visual.)
Public methodPushRoutingTarget
Push a new routing target onto the stack of routing targets, making this the new current routing target. Add this visual to a custom property on the target called "RoutingTargetAllocators". This is normally called for loads.
(Inherited from Visual.)
Public methodRemoveAspectT (Inherited from Visual.)
Public methodRemoveConnector
Remove a connector with a certain name.
(Inherited from Visual.)
Public methodRemoveCustomProperty
Remove a custom property from the Visual.
(Inherited from Visual.)
Public methodReparent
Remove this visual from the current parent's list of children (if current parent is not null), and add it to the new parent's list of children (if new parent is not null). The visual's matrix is adjusted accordingly, such that its top-level world location and orientation is preserved.
(Inherited from Visual.)
Public methodResetTrackingListener
Public methodRotate(Axis, SpeedProfile) (Inherited from Visual.)
Public methodRotate(Axis, Double) (Inherited from Visual.)
Public methodRotate(Axis, Double, Double) (Inherited from Visual.)
Public methodRotate(Visual, Axis, SpeedProfile) (Inherited from Visual.)
Public methodRotate(Visual, Axis, SpeedProfile, RotationDirection) (Inherited from Visual.)
Public methodRotateByImmediate (Inherited from Visual.)
Public methodRotateToImmediate (Inherited from Visual.)
Public methodRotateToLocalX (Inherited from Visual.)
Public methodRotateToLocalY (Inherited from Visual.)
Public methodRotateToLocalZ (Inherited from Visual.)
Public methodSetCustomPropertyValueT
Set the value of a custom property or do nothing if it doesn't exist.
(Inherited from Visual.)
Public methodSetInitialPosition
Set InitialLocation to be the current Location and InitialRotation to be the current Rotation.
(Inherited from Visual.)
Public methodCode exampleSetNativeObject
Set the native C# scripting class instance for this visual
(Inherited from Visual.)
Public methodSetScriptNativeTypeName
Atomically set the Script and NativeTypeName together but only create the NativeObject once.
(Inherited from Visual.)
Public methodSimulateLoad
Indicates that this Visual should now be in control of simulating the supplied load.
(Inherited from Visual.)
Public methodSortChildrenAscendingT (Inherited from Visual.)
Public methodSortChildrenAscendingDeepT (Inherited from Visual.)
Public methodStick
Reparents this visual to a specified parents and disables physics. This is intended for use with loads, where parent is generally a vehicle or some visual that will be moving the load.
(Inherited from Visual.)
Public methodStickKinematic
Reparents this visual to a specified parents and sets visual to be kinematic This is intended for use with loads, where parent is generally a vehicle or some visual that will be moving the load.
(Inherited from Visual.)
Public methodToXml
Convert a visual to XML. Use Document.CreateVisual to turn it back into a copy of the original visual.
(Inherited from Visual.)
Public methodTransformFromWorld
Transform a world coordinate to a local coordinate
(Inherited from Visual.)
Public methodTransformFromWorldNormal
Transform a world normal to a local normal
(Inherited from Visual.)
Public methodTransformFromWorldRotationDegrees
Transform a world rotation (in degrees) to a local rotation (in degrees).
(Inherited from Visual.)
Public methodTransformFromWorldRotationRadians
Transform a world rotation (in radians) to a local rotation (in radians).
(Inherited from Visual.)
Public methodTransformToParent
Transform a local coordinate to coordinate local to parent.
(Inherited from Visual.)
Public methodTransformToParentNormal
Transform a local normal to normal local to parent
(Inherited from Visual.)
Public methodTransformToWorld
Transform a local coordinate to a world coordinate.
(Inherited from Visual.)
Public methodTransformToWorldNormal
Transform a local normal to a world normal.
(Inherited from Visual.)
Public methodTransformToWorldRotationDegrees
Transform a local rotation (in radians) to a world rotation (in radians).
(Inherited from Visual.)
Public methodTransformToWorldRotationRadians
Transform a local rotation (in radians) to a world rotation (in radians).
(Inherited from Visual.)
Public methodTranslateLocalX(Double)
Instantly move the visual along its local X axis by xOffset units
(Inherited from Visual.)
Public methodTranslateLocalX(Double, Double)
Move the visual along its local X axis by xOffset units, at the given speed.
(Inherited from Visual.)
Public methodTranslateLocalX(Double, Double, Double, Double)
Move the visual along its local X axis by xOffset units, at the given speed and acceleration
(Inherited from Visual.)
Public methodTranslateLocalY(Double)
Instantly move the visual along its local Y axis by yOffset units
(Inherited from Visual.)
Public methodTranslateLocalY(Double, Double)
Move the visual along its local Y axis by yOffset units, at the given speed.
(Inherited from Visual.)
Public methodTranslateLocalY(Double, Double, Double, Double)
Move the visual along its local Y axis by yOffset units, at the given speed and acceleration
(Inherited from Visual.)
Public methodTranslateLocalZ(Double)
Instantly move the visual along its local Z axis by zOffset units
(Inherited from Visual.)
Public methodTranslateLocalZ(Double, Double)
Move the visual along its local Z axis by zOffset units, at the given speed.
(Inherited from Visual.)
Public methodTranslateLocalZ(Double, Double, Double, Double)
Move the visual along its local Z axis by zOffset units, at the given speed and acceleration
(Inherited from Visual.)
Public methodTranslateX(Double)
Instantly move the visual along the model's X axis by xOffset units
(Inherited from Visual.)
Public methodTranslateX(Double, Double)
Move the visual along the model's X axis by xOffset units, at the given speed.
(Inherited from Visual.)
Public methodTranslateX(Double, Double, Double, Double)
Move the visual along the model's X axis by xOffset units, at the given speed and acceleration
(Inherited from Visual.)
Public methodTranslateY(Double)
Instantly move the visual along the model's Y axis by yOffset units
(Inherited from Visual.)
Public methodTranslateY(Double, Double)
Move the visual along the model's Y axis by yOffset units, at the given speed.
(Inherited from Visual.)
Public methodTranslateY(Double, Double, Double, Double)
Move the visual along the model's Y axis by yOffset units, at the given speed and acceleration.
(Inherited from Visual.)
Public methodTranslateZ(Double)
Instantly move the visual along the model's Z axis by zOffset units
(Inherited from Visual.)
Public methodTranslateZ(Double, Double)
Move the visual along the model's Z axis by zOffset units, at the given speed.
(Inherited from Visual.)
Public methodTranslateZ(Double, Double, Double, Double)
Move the visual along the model's Z axis by zOffset units, at the given speed and acceleration.
(Inherited from Visual.)
Public methodTurnTo(Matrix)
Immediate Matrix TurnTo
(Inherited from Visual.)
Public methodTurnTo(Vector3)
Turn to a new yaw pitch roll instantly.
(Inherited from Visual.)
Public methodTurnTo(Matrix, SpeedProfile) (Inherited from Visual.)
Public methodTurnTo(Matrix, Double) (Inherited from Visual.)
Public methodTurnTo(Vector3, Double)
Turn to a new yaw pitch roll in a fixed time.
(Inherited from Visual.)
Public methodTurnTo(Axis, Double, SpeedProfile) (Inherited from Visual.)
Public methodTurnTo(Axis, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Matrix, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Visual, Matrix, SpeedProfile)
Main Matrix TurnTo method
(Inherited from Visual.)
Public methodTurnTo(Visual, Matrix, Double) (Inherited from Visual.)
Public methodTurnTo(Axis, Double, SpeedProfile, RotationDirection) (Inherited from Visual.)
Public methodTurnTo(Axis, Double, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Matrix, Double, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Visual, Axis, Double, SpeedProfile) (Inherited from Visual.)
Public methodTurnTo(Visual, Axis, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Visual, Matrix, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Axis, Double, Double, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Visual, Axis, Double, SpeedProfile, RotationDirection) (Inherited from Visual.)
Public methodTurnTo(Visual, Axis, Double, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Visual, Matrix, Double, Double, Double) (Inherited from Visual.)
Public methodTurnTo(Visual, Axis, Double, Double, Double, Double) (Inherited from Visual.)
Public methodUnfreeze
Release the load in one position by making it dynamic.
(Inherited from Visual.)
Public methodUnstick
Reparents this (stuck) visual to the scene and restores its physics state.
(Inherited from Visual.)
Public methodWaitForAnimator (Inherited from Visual.)
Public methodWakeUpSurroundingVisuals
Wake up any surrounding loads that might have been disabled so they don't remain in midair.
(Inherited from Visual.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddToComponent(String, IEnumerableVisual)Overloaded.
Add a list of visuals to a component (or create a component).
(Defined by VisualComponent.)
Public Extension MethodAddToComponent(String, Visual)Overloaded.
Add a list of visuals to a component (or create a component).
(Defined by VisualComponent.)
Public Extension MethodAddToComponent(Visual, String, Boolean)Overloaded.
Mark this visual as a member of the component. Component must be the root of an existing component, or null. If deep is set, then this visual and all its descendants will be added to the component. If deep is not set but this visual is already a member of a component, then it and all its child visuals within the current component, will be moved to the new component.
(Defined by VisualComponent.)
Public Extension MethodBelongsToComponent
Returns true if this visual belongs to a specific component.
(Defined by VisualComponent.)
Public Extension MethodCommonComponentTypes
Returns the component types common between this visual and a list of other visuals.
(Defined by VisualComponent.)
Public Extension MethodComponent(String)Overloaded.
Returns the component root for this visual.
(Defined by VisualComponent.)
Public Extension MethodComponent(VisualComponentSearchCriteria)Overloaded.
Returns the component root for this visual.
(Defined by VisualComponent.)
Public Extension MethodComponentChildren(String)Overloaded.
Returns all children of this component.
(Defined by VisualComponent.)
Public Extension MethodComponentChildren(VisualComponentSearchCriteria)Overloaded.
Returns all children of this component.
(Defined by VisualComponent.)
Public Extension MethodComponentDescendants(String)Overloaded.
Returns all descendants of this component.
(Defined by VisualComponent.)
Public Extension MethodComponentDescendants(VisualComponentSearchCriteria)Overloaded.
Returns all descendants of this component.
(Defined by VisualComponent.)
Public Extension MethodComponents
Returns all the components to which this visual belongs.
(Defined by VisualComponent.)
Public Extension MethodComponentTypes
Returns an ordered list of all the component types to which this visual belongs.
(Defined by VisualComponent.)
Public Extension MethodComponentVisuals(String)Overloaded.
Returns all the visuals belonging to this component.
(Defined by VisualComponent.)
Public Extension MethodComponentVisuals(VisualComponentComponentType)Overloaded.
Returns all the visuals belonging to this component.
(Defined by VisualComponent.)
Public Extension MethodComponentVisuals(VisualComponentSearchCriteria)Overloaded.
Returns all the visuals belonging to this component.
(Defined by VisualComponent.)
Public Extension MethodCreateComponent
Mark this visual as a component.
(Defined by VisualComponent.)
Public Extension MethodFindComponentType(String)Overloaded.
Returns a component type for this visual.
(Defined by VisualComponent.)
Public Extension MethodFindComponentType(VisualComponentSearchCriteria)Overloaded.
Returns a component type for this visual.
(Defined by VisualComponent.)
Public Extension MethodIsComponentRoot(String)Overloaded.
Returns true if this visual is the root of its component.
(Defined by VisualComponent.)
Public Extension MethodIsComponentRoot(VisualComponentSearchCriteria)Overloaded.
Returns true if this visual is the root of its component.
(Defined by VisualComponent.)
Public Extension MethodIsComponentType
Returns true if this visual is a component member of componentType.
(Defined by VisualComponent.)
Public Extension MethodRemoveFromComponent
Remove this visual from component.
(Defined by VisualComponent.)
Top
See Also