Documentation
¶
Overview ¶
Package NavigationMeshSourceGeometryData2D provides methods for working with NavigationMeshSourceGeometryData2D object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AddObstructionOutline(shape_outline []Vector2.XY)
- func (self Instance) AddProjectedObstruction(vertices []Vector2.XY, carve bool)
- func (self Instance) AddTraversableOutline(shape_outline []Vector2.XY)
- func (self Instance) AppendObstructionOutlines(obstruction_outlines [][]Vector2.XY)
- func (self Instance) AppendTraversableOutlines(traversable_outlines [][]Vector2.XY)
- func (self Instance) AsNavigationMeshSourceGeometryData2D() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) Clear()
- func (self Instance) ClearProjectedObstructions()
- func (self Instance) HasData() bool
- func (self Instance) Merge(other_geometry [1]gdclass.NavigationMeshSourceGeometryData2D)
- func (self Instance) ObstructionOutlines() [][]Vector2.XY
- func (self Instance) ProjectedObstructions() []any
- func (self Instance) SetObstructionOutlines(value [][]Vector2.XY)
- func (self Instance) SetProjectedObstructions(value []any)
- func (self Instance) SetTraversableOutlines(value [][]Vector2.XY)
- func (self Instance) TraversableOutlines() [][]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 Instance ¶
type Instance [1]gdclass.NavigationMeshSourceGeometryData2D
Container for parsed source geometry data used in navigation mesh baking.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AddObstructionOutline ¶
Adds the outline points of a shape as obstructed area.
func (Instance) AddProjectedObstruction ¶
Adds a projected obstruction shape to the source geometry. If [param carve] is [code]true[/code] the carved shape will not be affected by additional offsets (e.g. agent radius) of the navigation mesh baking process.
func (Instance) AddTraversableOutline ¶
Adds the outline points of a shape as traversable area.
func (Instance) AppendObstructionOutlines ¶
Appends another array of [param obstruction_outlines] at the end of the existing obstruction outlines array.
func (Instance) AppendTraversableOutlines ¶
Appends another array of [param traversable_outlines] at the end of the existing traversable outlines array.
func (Instance) AsNavigationMeshSourceGeometryData2D ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) ClearProjectedObstructions ¶
func (self Instance) ClearProjectedObstructions()
Clears all projected obstructions.
func (Instance) Merge ¶
func (self Instance) Merge(other_geometry [1]gdclass.NavigationMeshSourceGeometryData2D)
Adds the geometry data of another [NavigationMeshSourceGeometryData2D] to the navigation mesh baking data.