MeshTexture

package
v0.0.0-...-7325ca5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

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

type Instance

type Instance [1]gdclass.MeshTexture

Simple texture that uses a mesh to draw itself. It's limited because flags can't be changed and region drawing is not supported.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsMeshTexture

func (self Instance) AsMeshTexture() 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) AsTexture

func (self Instance) AsTexture() Texture.Instance

func (Instance) AsTexture2D

func (self Instance) AsTexture2D() Texture2D.Instance

func (Instance) BaseTexture

func (self Instance) BaseTexture() [1]gdclass.Texture2D

func (Instance) ImageSize

func (self Instance) ImageSize() Vector2.XY

func (Instance) Mesh

func (self Instance) Mesh() [1]gdclass.Mesh

func (Instance) SetBaseTexture

func (self Instance) SetBaseTexture(value [1]gdclass.Texture2D)

func (Instance) SetImageSize

func (self Instance) SetImageSize(value Vector2.XY)

func (Instance) SetMesh

func (self Instance) SetMesh(value [1]gdclass.Mesh)

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