RenderSceneDataExtension

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: 21 Imported by: 0

Documentation

Overview

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

type Implementation

type Implementation = implementation

Implementation implements Interface with empty methods.

type Instance

This class allows for a RenderSceneData implementation to be made in GDExtension.

See [Interface] for methods that can be overridden by a [Class] that extends it.

%!(EXTRA string=RenderSceneDataExtension)

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) AsRenderSceneData

func (self Instance) AsRenderSceneData() RenderSceneData.Instance

func (Instance) AsRenderSceneDataExtension

func (self Instance) AsRenderSceneDataExtension() Instance

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

type Interface

type Interface interface {
	//Implement this in GDExtension to return the camera [Transform3D].
	GetCamTransform() Transform3D.BasisOrigin
	//Implement this in GDExtension to return the camera [Projection].
	GetCamProjection() Projection.XYZW
	//Implement this in GDExtension to return the view count.
	GetViewCount() int
	//Implement this in GDExtension to return the eye offset for the given [param view].
	GetViewEyeOffset(view int) Vector3.XYZ
	//Implement this in GDExtension to return the view [Projection] for the given [param view].
	GetViewProjection(view int) Projection.XYZW
	//Implement this in GDExtension to return the [RID] of the uniform buffer containing the scene data as a UBO.
	GetUniformBuffer() RID.Any
}

Jump to

Keyboard shortcuts

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