Documentation
¶
Overview ¶
Package GLTFLight provides methods for working with GLTFLight object instances.
Index ¶
- func FromDictionary(dictionary Structure) [1]gdclass.GLTFLight
- func FromNode(light_node [1]gdclass.Light3D) [1]gdclass.GLTFLight
- type Advanced
- type Any
- type Instance
- func (self Instance) AsGLTFLight() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) Color() Color.RGBA
- func (self Instance) GetAdditionalData(extension_name string) any
- func (self Instance) InnerConeAngle() Float.X
- func (self Instance) Intensity() Float.X
- func (self Instance) LightType() string
- func (self Instance) OuterConeAngle() Float.X
- func (self Instance) Range() Float.X
- func (self Instance) SetAdditionalData(extension_name string, additional_data any)
- func (self Instance) SetColor(value Color.RGBA)
- func (self Instance) SetInnerConeAngle(value Float.X)
- func (self Instance) SetIntensity(value Float.X)
- func (self Instance) SetLightType(value string)
- func (self Instance) SetOuterConeAngle(value Float.X)
- func (self Instance) SetRange(value Float.X)
- func (self Instance) ToDictionary() Structure
- func (self Instance) ToNode() [1]gdclass.Light3D
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
- type Structure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromDictionary ¶
Creates a new GLTFLight instance by parsing the given [Dictionary].
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 Instance ¶
Represents a light as defined by the [code]KHR_lights_punctual[/code] GLTF extension.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsGLTFLight ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) GetAdditionalData ¶
func (Instance) InnerConeAngle ¶
func (Instance) OuterConeAngle ¶
func (Instance) SetAdditionalData ¶
func (Instance) SetInnerConeAngle ¶
func (Instance) SetIntensity ¶
func (Instance) SetLightType ¶
func (Instance) SetOuterConeAngle ¶
func (Instance) ToDictionary ¶
Serializes this GLTFLight instance into a [Dictionary].
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.