| AimConstraint Class |
Namespace: Candlelight.Maya
public sealed class AimConstraint : Constraint
The AimConstraint type exposes the following members.
| Name | Description | |
|---|---|---|
| Compute |
Point the AimVector on the object at the weighted average ConstraintTarget position and apply
offset.
(Overrides ConstraintCompute.) | |
| GetTarget |
Gets the target with the specified index.
(Inherited from Constraint.) | |
| GetTargets |
Gets the targets.
(Inherited from Constraint.) | |
| SetTargets |
Sets the targets.
(Inherited from Constraint.) |
| Name | Description | |
|---|---|---|
| GetPrefabName |
Gets the name of the prefab associated with the supplied instance.
(Defined by ObjectX.) | |
| OpenReferencePage |
Opens a reference web page generated for the specified object.
(Defined by ObjectX.) |
| Name | Description | |
|---|---|---|
| AimVector |
Gets or sets the axis on ConstrainedObject that will look at the target position.
| |
| ConstrainedObject |
Gets the constrained object.
(Inherited from Constraint.) | |
| NodeName |
Gets the name of the node in the Maya Dependency Graph to which this instance corresponds.
(Inherited from DGNode.) | |
| Offset |
Gets or sets the offset.
(Inherited from Constraint.) | |
| TargetCount |
Gets the number of ConstraintTargets influencing this instance.
(Inherited from Constraint.) | |
| UpVector |
Gets or sets the axis on ConstrainedObject that will act as the constrained
up-vector.
| |
| WorldUpObject |
Gets or sets the Transform to use as the up-vector constraint, if needed.
| |
| WorldUpType |
Gets or sets a value specifying how WorldUpVector should be interpreted.
| |
| WorldUpVector |
Gets or sets the axis to which ConstrainedObject's
UpVector is constrained.
|
Add this component to an object that needs to aim at another object, or that needs to aim at a point that is the weighted, interpolated position of several objects' positions
When copying data in from Maya, the Offset value is only correct for rotateOrder XYZ (this is a Maya bug).