Shape3D

package
v0.0.0-...-ae8aae0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package Shape3D provides methods for working with Shape3D 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
	AsShape3D() Instance
}

type Instance

type Instance [1]gdclass.Shape3D

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 New

func New() Instance

func (Instance) AsObject

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

func (Instance) AsRefCounted

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

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) AsShape3D

func (self Instance) AsShape3D() Instance

func (Instance) CustomSolverBias

func (self Instance) CustomSolverBias() Float.X

func (Instance) GetDebugMesh

func (self Instance) GetDebugMesh() [1]gdclass.ArrayMesh

Returns the [ArrayMesh] used to draw the debug collision for this [Shape3D].

func (Instance) Margin

func (self Instance) Margin() Float.X

func (Instance) SetCustomSolverBias

func (self Instance) SetCustomSolverBias(value Float.X)

func (Instance) SetMargin

func (self Instance) SetMargin(value Float.X)

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