control point


xshade
shape
control_point

List of Methods

remove_in_handle Deletes the in-handle
remove_lateral_in_handle Deletes the lateral in-handle
remove_lateral_out_handle Deletes the lateral out-handle
remove_out_handle Deletes the out-handle

List of Properties

has_in_handle Whether it has an in-handle or not
has_lateral_in_handle Whether it has a lateral in-handle or not
has_lateral_out_handle Whether it has a lateral out-handle or not
has_out_handle Whether it has a out-handle or not
in_handle The in-handle coordinates
lateral_in_handle The lateral in-handle coordinates
lateral_linked Whether the lateral handle is linked or not
lateral_out_handle The lateral out-handle coordinates
linked Whether the handle is linked or not
out_handle The out-handle coordinates
position The anchor point coordinates
skin The skin object of the control point




Used after getting the control points of an object with a method such as xshade.scene().active_shape().control_point(0).

Method Details

remove_in_handle

Deletes the in-handle.

xshade.scene().active_shape().control_point(0).remove_in_handle()

remove_lateral_in_handle

Deletes the lateral in-handle.

xshade.scene().active_shape().control_point(0).remove_lateral_in_handle()

remove_lateral_out_handle

Deletes the lateral out-handle.

xshade.scene().active_shape().control_point(0).remove_lateral_out_handle()

remove_out_handle

Deletes the out-handle.

xshade.scene().active_shape().control_point(0).remove_out_handle()

Property Details

has_in_handle

Whether it has an in-handle or not.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().control_point(0).has_in_handle

has_lateral_in_handle

Whether it has a lateral in-handle or not.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().control_point(0).has_lateral_in_handle

has_lateral_out_handle

Whether it has a lateral out-handle or not.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().control_point(0).has_lateral_out_handle

has_out_handle

Whether it has a out-handle or not.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().control_point(0).has_out_handle

in_handle

The in-handle coordinates.

  • Get
  • Set

Type :
  vec3

print xshade.scene().active_shape().control_point(0).in_handle

lateral_in_handle

The lateral in-handle coordinates.

  • Get
  • Set

Type :
  vec3

print xshade.scene().active_shape().control_point(0).lateral_in_handle

lateral_linked

Whether the lateral handle is linked or not.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().control_point(0).lateral_linked

lateral_out_handle

The lateral out-handle coordinates.

  • Get
  • Set

Type :
  vec3

print xshade.scene().active_shape().control_point(0).lateral_out_handle

linked

Whether the handle is linked or not.

  • Get
  • Set

Type :
  bool

print xshade.scene().active_shape().control_point(0).linked

out_handle

The out-handle coordinates.

  • Get
  • Set

Type :
  vec3

print xshade.scene().active_shape().control_point(0).out_handle

position

The anchor point coordinates.

  • Get
  • Set

Type :
  vec3

print xshade.scene().active_shape().control_point(0).position

skin

The skin object of the control point.

  • Get
  • Set

Type :
  skin object
See also :
  skin

#Output the number of binds of control point 0
print xshade.scene().active_shape().control_point(0).skin.number_of_binds