gdtype

package
v0.0.0-...-08a4b47 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Builtins = []Name{
	"String", "StringName", "PackedStringArray", "PackedInt32Array", "PackedInt64Array", "PackedFloat32Array",
	"PackedFloat64Array", "PackedVector2Array", "PackedVector3Array", "PackedVector4Array", "PackedColorArray", "PackedByteArray",
	"Vector2", "Vector2i", "Rect2", "Rect2i", "Vector3", "Vector3i", "Transform2D", "Vector4", "Vector4i",
	"Plane", "Quaternion", "AABB", "Basis", "Transform3D", "Projection", "Color", "NodePath", "RID",
	"Callable", "Signal", "Dictionary", "Array",
}
View Source
var ClassDB map[string]gdjson.Class

Functions

func EngineTypeAsGoType

func EngineTypeAsGoType(pkg, meta string, gdType string) string

func ImportsForClass

func ImportsForClass(class gdjson.Class) iter.Seq[string]

Types

type Name

type Name string

func (Name) ConvertToGo

func (name Name) ConvertToGo(val string, simple string) string

func (Name) ConvertToSimple

func (name Name) ConvertToSimple(val string) string

func (Name) EndPointer

func (name Name) EndPointer(val string) string

func (Name) InCore

func (s Name) InCore() bool

func (Name) IsBuiltin

func (s Name) IsBuiltin() bool

func (Name) IsPointer

func (name Name) IsPointer() (string, bool)

func (Name) Let

func (name Name) Let(ctx string, val string) string

func (Name) LoadFromRawPointerValue

func (name Name) LoadFromRawPointerValue(val string) string

func (Name) LoadOntoCallFrame

func (name Name) LoadOntoCallFrame(val string) string

func (Name) ToUnderlying

func (name Name) ToUnderlying(val string) string

func (Name) Underlying

func (name Name) Underlying() string

Jump to

Keyboard shortcuts

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