c4d.HandleInfo
¶
c4d.
HandleInfo
¶
HandleInfo.
direction
¶
The normal used for the handle travel. For linear handle constraints it is the line on which a handle can travel. For planar and radial constraints it is the normal of the plane/disc. Otherwise it is not needed.
Type:
Vector
HandleInfo.
center
¶
Handle constraint center, for radial and spherical handle constraints.
Type:
Vector
HandleInfo.
radius
¶
Handle constraint radius, for radial and spherical handle constraints.
Type: float
HandleInfo.
type
¶
Handle constraint type. One of these types:
HANDLECONSTRAINTTYPE_INVALID Invalid HANDLECONSTRAINTTYPE_LINEAR Linear HANDLECONSTRAINTTYPE_PLANAR Planar HANDLECONSTRAINTTYPE_FREE Free HANDLECONSTRAINTTYPE_RADIAL Radial HANDLECONSTRAINTTYPE_SPHERICAL Spherical
HandleInfo.
__init__
(
)
¶
Constructor.
HandleInfo.
CalculateNewPosition
(
bd
,
mg
,
mouse_pos
)
¶
Calculates a handle position for a given mouse position.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The new handle position. |