CollisionPolygon

Inherits: Spatial < Node < Object

Category: Core

Brief Description

Member Functions

int get_build_mode ( ) const
int get_collision_object_first_shape ( ) const
int get_collision_object_last_shape ( ) const
float get_depth ( ) const
Vector2Array get_polygon ( ) const
void set_build_mode ( int build_mode )
void set_depth ( float depth )
void set_polygon ( Vector2Array polygon )

Member Function Description

int get_build_mode ( ) const

int get_collision_object_first_shape ( ) const

int get_collision_object_last_shape ( ) const

float get_depth ( ) const

Vector2Array get_polygon ( ) const

void set_build_mode ( int build_mode )

void set_depth ( float depth )

void set_polygon ( Vector2Array polygon )

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_collisionpolygon.html