Documentation ¶
Overview ¶
Package Shape3D provides methods for working with Shape3D object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) AsShape3D() Instance
- func (self Instance) CustomSolverBias() Float.X
- func (self Instance) GetDebugMesh() [1]gdclass.ArrayMesh
- func (self Instance) Margin() Float.X
- func (self Instance) SetCustomSolverBias(value Float.X)
- func (self Instance) SetMargin(value Float.X)
- 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 ¶
Abstract base class for all 3D shapes, intended for use in physics. [b]Performance:[/b] Primitive shapes, especially [SphereShape3D], are fast to check collisions against. [ConvexPolygonShape3D] and [HeightMapShape3D] are slower, and [ConcavePolygonShape3D] is the slowest.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) CustomSolverBias ¶
func (Instance) GetDebugMesh ¶
Returns the [ArrayMesh] used to draw the debug collision for this [Shape3D].
func (Instance) SetCustomSolverBias ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.