rotator joint

Used for rotator joint operations.
Interface for easily getting settings, retained as part of an object, from a plug-in or script.


xshade
shape
rotator_joint

List of Properties

blend Blend
direction Orientation
flat Flat
limit Limiter
pivot The pivot (center) coordinates
range Range on/off
rotation The rotation




Used after getting an object with a method such as xshade.scene().active_shape().

Property Details

blend

Blend.

  • Get
  • Set

Type :
  float

print xshade.scene().active_shape().rotator_joint.blend

direction

Orientation.

  • Get
  • Set

Type :
  float3

print xshade.scene().active_shape().rotator_joint.direction

flat

Flat.

  • Get
  • Set

Type :
  bool : True : Flat, False : Hierarchical

print xshade.scene().active_shape().rotator_joint.flat

limit

Limiter (min and max value of joint).

  • Get
  • Set

Type :
  float2

print xshade.scene().active_shape().rotator_joint.limit

pivot

The pivot (center) coordinates.

  • Get
  • Set

Type :
  vec3

print xshade.scene().active_shape().rotator_joint.pivot

range

Range on/off.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().rotator_joint.range

rotation

Rotation.

  • Get
  • Set

Type :
  float

print xshade.scene().active_shape().rotator_joint.rotation