Documentation
¶
Overview ¶
Package OccluderPolygon2D provides methods for working with OccluderPolygon2D object instances.
Index ¶
- type Advanced
- type Any
- type CullMode
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsOccluderPolygon2D() Instance
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) Closed() bool
- func (self Instance) CullMode() gdclass.OccluderPolygon2DCullMode
- func (self Instance) Polygon() []Vector2.XY
- func (self Instance) SetClosed(value bool)
- func (self Instance) SetCullMode(value gdclass.OccluderPolygon2DCullMode)
- func (self Instance) SetPolygon(value []Vector2.XY)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type CullMode ¶
type CullMode = gdclass.OccluderPolygon2DCullMode //gd:OccluderPolygon2D.CullMode
const ( /*Culling is disabled. See [member cull_mode].*/ CullDisabled CullMode = 0 /*Culling is performed in the clockwise direction. See [member cull_mode].*/ CullClockwise CullMode = 1 /*Culling is performed in the counterclockwise direction. See [member cull_mode].*/ CullCounterClockwise CullMode = 2 )
type Instance ¶
type Instance [1]gdclass.OccluderPolygon2D
Editor facility that helps you draw a 2D polygon used as resource for [LightOccluder2D].
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsOccluderPolygon2D ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) CullMode ¶
func (self Instance) CullMode() gdclass.OccluderPolygon2DCullMode
func (Instance) SetCullMode ¶
func (self Instance) SetCullMode(value gdclass.OccluderPolygon2DCullMode)
func (Instance) SetPolygon ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.