unreal.CEClonerConstraintExtension

class unreal.CEClonerConstraintExtension(outer: Object | None = None, name: Name | str = 'None')

Bases: CEClonerExtensionBase

Extension dealing with clone grid constraints

C++ Source:

  • Plugin: ClonerEffector

  • Module: ClonerEffector

  • File: CEClonerConstraintExtension.h

Editor Properties: (see get_editor_property/set_editor_property)

  • constraint (CEClonerGridConstraint): [Read-Write]

  • cylinder_center (Vector): [Read-Write]

  • cylinder_height (float): [Read-Write]

  • cylinder_radius (float): [Read-Write] Cylinder constraint

  • invert_constraint (bool): [Read-Write]

  • sphere_center (Vector): [Read-Write]

  • sphere_radius (float): [Read-Write] Sphere constraint

  • texture_asset (Texture): [Read-Write] Texture constraint

  • texture_clamp (bool): [Read-Write]

  • texture_compare_mode (CEClonerCompareMode): [Read-Write]

  • texture_offset (Vector2D): [Read-Write]

  • texture_plane (CEClonerPlane): [Read-Write]

  • texture_rotation (float): [Read-Write]

  • texture_sample_mode (CEClonerTextureSampleChannel): [Read-Write]

  • texture_scale (Vector2D): [Read-Write]

  • texture_threshold (float): [Read-Write]

get_constraint() CEClonerGridConstraint

Get Constraint

Return type:

CEClonerGridConstraint

get_cylinder_center() Vector

Get Cylinder Center

Return type:

Vector

get_cylinder_height() float

Get Cylinder Height

Return type:

float

get_cylinder_radius() float

Get Cylinder Radius

Return type:

float

get_invert_constraint() bool

Get Invert Constraint

Return type:

bool

get_sphere_center() Vector

Get Sphere Center

Return type:

Vector

get_sphere_radius() float

Get Sphere Radius

Return type:

float

get_texture_asset() Texture

Get Texture Asset

Return type:

Texture

get_texture_clamp() bool

Get Texture Clamp

Return type:

bool

get_texture_compare_mode() CEClonerCompareMode

Get Texture Compare Mode

Return type:

CEClonerCompareMode

get_texture_offset() Vector2D

Get Texture Offset

Return type:

Vector2D

get_texture_plane() CEClonerPlane

Get Texture Plane

Return type:

CEClonerPlane

get_texture_rotation() float

Get Texture Rotation

Return type:

float

get_texture_sample_mode() CEClonerTextureSampleChannel

Get Texture Sample Mode

Return type:

CEClonerTextureSampleChannel

get_texture_scale() Vector2D

Get Texture Scale

Return type:

Vector2D

get_texture_threshold() float

Get Texture Threshold

Return type:

float

set_constraint(constraint) None

Set Constraint

Parameters:

constraint (CEClonerGridConstraint)

set_cylinder_center(cylinder_center) None

Set Cylinder Center

Parameters:

cylinder_center (Vector)

set_cylinder_height(cylinder_height) None

Set Cylinder Height

Parameters:

cylinder_height (float)

set_cylinder_radius(cylinder_radius) None

Set Cylinder Radius

Parameters:

cylinder_radius (float)

set_invert_constraint(invert_constraint) None

Set Invert Constraint

Parameters:

invert_constraint (bool)

set_sphere_center(sphere_center) None

Set Sphere Center

Parameters:

sphere_center (Vector)

set_sphere_radius(sphere_radius) None

Set Sphere Radius

Parameters:

sphere_radius (float)

set_texture_asset(texture) None

Set Texture Asset

Parameters:

texture (Texture)

set_texture_clamp(clamp) None

Set Texture Clamp

Parameters:

clamp (bool)

set_texture_compare_mode(mode) None

Set Texture Compare Mode

Parameters:

mode (CEClonerCompareMode)

set_texture_offset(offset) None

Set Texture Offset

Parameters:

offset (Vector2D)

set_texture_plane(plane) None

Set Texture Plane

Parameters:

plane (CEClonerPlane)

set_texture_rotation(rotation) None

Set Texture Rotation

Parameters:

rotation (float)

set_texture_sample_mode(sample_mode) None

Set Texture Sample Mode

Parameters:

sample_mode (CEClonerTextureSampleChannel)

set_texture_scale(scale) None

Set Texture Scale

Parameters:

scale (Vector2D)

set_texture_threshold(threshold) None

Set Texture Threshold

Parameters:

threshold (float)