Click or drag to resize
PointConstraint Class
A Constraint that replicates the behavior of the pointConstraint node in Maya.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Candlelight.MayaDGNode
            Candlelight.MayaConstraint
              Candlelight.MayaPointConstraint

Namespace: Candlelight.Maya
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public sealed class PointConstraint : Constraint

The PointConstraint type exposes the following members.

Methods
  NameDescription
Public methodCompute
Compute weighted average position of ConstraintTargets and apply offset.
(Overrides ConstraintCompute.)
Public methodGetTarget
Gets the target with the specified index.
(Inherited from Constraint.)
Public methodGetTargets
Gets the targets.
(Inherited from Constraint.)
Public methodSetTargets
Sets the targets.
(Inherited from Constraint.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetPrefabName
Gets the name of the prefab associated with the supplied instance.
(Defined by ObjectX.)
Public Extension MethodOpenReferencePage
Opens a reference web page generated for the specified object.
(Defined by ObjectX.)
Top
Properties
  NameDescription
Public propertyConstrainedObject
Gets the constrained object.
(Inherited from Constraint.)
Public propertyNodeName
Gets the name of the node in the Maya Dependency Graph to which this instance corresponds.
(Inherited from DGNode.)
Public propertyOffset
Gets or sets the offset.
(Inherited from Constraint.)
Public propertyTargetCount (Inherited from Constraint.)
Top
Remarks
Add this component to an object that needs to lock its position to another object, or that needs to perform a multiple weighted interpolation of several objects' positions.
See Also