CSGShape3D

Inherits: GeometryInstance3D < VisualInstance3D < Node3D < Node < Object

Inherited By: CSGCombiner3D, CSGPrimitive3D

There is currently no description for this class. Please help us by contributing one!

Properties

bool

calculate_tangents

true

int

collision_layer

1

int

collision_mask

1

float

collision_priority

1.0

Operation

operation

0

float

snap

0.001

bool

use_collision

false

Methods

bool

get_collision_layer_value ( int layer_number ) const

bool

get_collision_mask_value ( int layer_number ) const

Array

get_meshes ( ) const

bool

is_root_shape ( ) const

void

set_collision_layer_value ( int layer_number, bool value )

void

set_collision_mask_value ( int layer_number, bool value )


Enumerations

enum Operation:

Operation OPERATION_UNION = 0

There is currently no description for this enum. Please help us by contributing one!

Operation OPERATION_INTERSECTION = 1

There is currently no description for this enum. Please help us by contributing one!

Operation OPERATION_SUBTRACTION = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

bool calculate_tangents = true

  • void set_calculate_tangents ( bool value )

  • bool is_calculating_tangents ( )

There is currently no description for this property. Please help us by contributing one!


int collision_layer = 1

  • void set_collision_layer ( int value )

  • int get_collision_layer ( )

There is currently no description for this property. Please help us by contributing one!


int collision_mask = 1

  • void set_collision_mask ( int value )

  • int get_collision_mask ( )

There is currently no description for this property. Please help us by contributing one!


float collision_priority = 1.0

  • void set_collision_priority ( float value )

  • float get_collision_priority ( )

There is currently no description for this property. Please help us by contributing one!


Operation operation = 0

There is currently no description for this property. Please help us by contributing one!


float snap = 0.001

  • void set_snap ( float value )

  • float get_snap ( )

There is currently no description for this property. Please help us by contributing one!


bool use_collision = false

  • void set_use_collision ( bool value )

  • bool is_using_collision ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

bool get_collision_layer_value ( int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


bool get_collision_mask_value ( int layer_number ) const

There is currently no description for this method. Please help us by contributing one!


Array get_meshes ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_root_shape ( ) const

There is currently no description for this method. Please help us by contributing one!


void set_collision_layer_value ( int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!


void set_collision_mask_value ( int layer_number, bool value )

There is currently no description for this method. Please help us by contributing one!