alias_api.AlCopyOptions

class alias_api.AlCopyOptions

Bases: pybind11_object

Copy options for AlDagNode.

copy_animation(self: alias_api.AlCopyOptions) int

Return True if copying of an AlDagNode’s animation is enabled.

copy_clusters(self: alias_api.AlCopyOptions) int

Return True if the new copies of clusters should be made of clusters which reference geometry below the AlDagNode.

instance_copy(self: alias_api.AlCopyOptions) int

Return True if the copies are to be instances of the AlDagNode rather than new objects.

num_copies(self: alias_api.AlCopyOptions) int

Return the number of copies to be created. Zero will be returned if the AlCopyOptions object was not properly created.

rotation(self: alias_api.AlCopyOptions) tuple[int, float, float, float]

Return the rotation which will be applied to copies of the AlDagNode.

scale(self: alias_api.AlCopyOptions) tuple[int, float, float, float]

Return the scale which will be applied to copies of the AlDagNode.

set_copy_animation(self: alias_api.AlCopyOptions, animation: SupportsInt) int

If ‘animation’ is True, animation on the AlDagNode will be copied.

set_copy_clusters(self: alias_api.AlCopyOptions, clusters: SupportsInt) int

If ‘clusters’ is True, new copies of clusters will be created for clusters which reference geometry below the AlDagNode.

set_instance_copy(self: alias_api.AlCopyOptions, instance: SupportsInt) int

If ‘instance’ is True, instances of the AlDagNode will be created rather than new objects.

set_num_copies(self: alias_api.AlCopyOptions, arg0: SupportsInt) int

Sets the number of copies to create.

set_rotation(self: alias_api.AlCopyOptions, x: SupportsFloat, y: SupportsFloat, z: SupportsFloat) int

Set the rotation which will be applied to copies of the AlDagNode.

set_scale(self: alias_api.AlCopyOptions, x: SupportsFloat, y: SupportsFloat, z: SupportsFloat) int

Set the scale which will be applied to copies of the AlDagNode.

set_time_offset(self: alias_api.AlCopyOptions, arg0: SupportsFloat) int

Sets the time offset for copies when copying animation.

set_translation(self: alias_api.AlCopyOptions, x: SupportsFloat, y: SupportsFloat, z: SupportsFloat) int

Set the translation which will be applied to copies of the AlDagNode.

time_offset(self: alias_api.AlCopyOptions) float

Return the time offset for the copies if animation is being copied.

translation(self: alias_api.AlCopyOptions) tuple[int, float, float, float]

Return the translation which will be applied to copies of the AlDagNode.