OccluderPolygon2D

Inherits: Resource < Reference < Object

Category: Core

Brief Description

Member Functions

int get_cull_mode ( ) const
Vector2Array get_polygon ( ) const
bool is_closed ( ) const
void set_closed ( bool closed )
void set_cull_mode ( int cull_mode )
void set_polygon ( Vector2Array polygon )

Numeric Constants

  • CULL_DISABLED = 0
  • CULL_CLOCKWISE = 1
  • CULL_COUNTER_CLOCKWISE = 2

Member Function Description

int get_cull_mode ( ) const

Vector2Array get_polygon ( ) const

bool is_closed ( ) const

void set_closed ( bool closed )

void set_cull_mode ( int cull_mode )

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_occluderpolygon2d.html