OccluderPolygon2D

package
v0.0.0-...-d9f4d4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package OccluderPolygon2D provides methods for working with OccluderPolygon2D object instances.

Index

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 Any

type Any interface {
	gd.IsClass
	AsOccluderPolygon2D() Instance
}

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 New

func New() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsOccluderPolygon2D

func (self Instance) AsOccluderPolygon2D() Instance

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) Closed

func (self Instance) Closed() bool

func (Instance) CullMode

func (self Instance) CullMode() gdclass.OccluderPolygon2DCullMode

func (Instance) Polygon

func (self Instance) Polygon() []Vector2.XY

func (Instance) SetClosed

func (self Instance) SetClosed(value bool)

func (Instance) SetCullMode

func (self Instance) SetCullMode(value gdclass.OccluderPolygon2DCullMode)

func (Instance) SetPolygon

func (self Instance) SetPolygon(value []Vector2.XY)

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL