Documentation
¶
Overview ¶
Package RenderSceneDataExtension provides methods for working with RenderSceneDataExtension object instances.
Index ¶
- type Advanced
- type Any
- type Extension
- type ID
- type Implementation
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRenderSceneData() RenderSceneData.Instance
- func (self Instance) AsRenderSceneDataExtension() Instance
- func (self Instance) ID() ID
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- 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
func (*Extension[T]) AsRenderSceneData ¶
func (self *Extension[T]) AsRenderSceneData() RenderSceneData.Instance
func (*Extension[T]) AsRenderSceneDataExtension ¶
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.RenderSceneDataExtension
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.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsRenderSceneData ¶
func (self Instance) AsRenderSceneData() RenderSceneData.Instance
func (Instance) AsRenderSceneDataExtension ¶
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 }