Documentation
¶
Index ¶
- type Advanced
- type Any
- type Extension
- type ID
- type Implementation
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsPhysicsServer3DRenderingServerHandler() Instance
- func (self Instance) ID() ID
- func (self Instance) SetAabb(aabb AABB.PositionSize)
- func (self Instance) SetNormal(vertex_id int, normal Vector3.XYZ)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetVertex(vertex_id int, vertex Vector3.XYZ)
- func (self Instance) Virtual(name string) reflect.Value
- type Interface
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 Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this [Extension]See Interface for methods that can be overridden by T.
func (*Extension[T]) AsPhysicsServer3DRenderingServerHandler ¶
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Implementation ¶
type Implementation = implementation
Implementation implements Interface with empty methods.
type Instance ¶
type Instance [1]gdclass.PhysicsServer3DRenderingServerHandler
Instance of the class with convieniently typed arguments and results.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsPhysicsServer3DRenderingServerHandler ¶
func (Instance) SetAabb ¶
func (self Instance) SetAabb(aabb AABB.PositionSize)
Sets the bounding box for the graphics.gd/classdb/SoftBody3D.
func (Instance) SetNormal ¶
Sets the normal for the graphics.gd/classdb/SoftBody3D vertex at the index specified by 'vertex_id'.
func (Instance) SetVertex ¶
Sets the position for the graphics.gd/classdb/SoftBody3D vertex at the index specified by 'vertex_id'.
type Interface ¶
type Interface interface { // Called by the [graphics.gd/classdb/PhysicsServer3D] to set the position for the [graphics.gd/classdb/SoftBody3D] vertex at the index specified by 'vertex_id'. // // Note: The 'vertex' parameter used to be of type const void* prior to Godot 4.2. SetVertex(vertex_id int, vertex Vector3.XYZ) // Called by the [graphics.gd/classdb/PhysicsServer3D] to set the normal for the [graphics.gd/classdb/SoftBody3D] vertex at the index specified by 'vertex_id'. // // Note: The 'normal' parameter used to be of type const void* prior to Godot 4.2. SetNormal(vertex_id int, normal Vector3.XYZ) // Called by the [graphics.gd/classdb/PhysicsServer3D] to set the bounding box for the [graphics.gd/classdb/SoftBody3D]. SetAabb(aabb AABB.PositionSize) }