Documentation ¶
Overview ¶
Package PhysicalSkyMaterial provides methods for working with PhysicalSkyMaterial object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsMaterial() Material.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsPhysicalSkyMaterial() Instance
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) EnergyMultiplier() Float.X
- func (self Instance) GroundColor() Color.RGBA
- func (self Instance) MieCoefficient() Float.X
- func (self Instance) MieColor() Color.RGBA
- func (self Instance) MieEccentricity() Float.X
- func (self Instance) NightSky() [1]gdclass.Texture2D
- func (self Instance) RayleighCoefficient() Float.X
- func (self Instance) RayleighColor() Color.RGBA
- func (self Instance) SetEnergyMultiplier(value Float.X)
- func (self Instance) SetGroundColor(value Color.RGBA)
- func (self Instance) SetMieCoefficient(value Float.X)
- func (self Instance) SetMieColor(value Color.RGBA)
- func (self Instance) SetMieEccentricity(value Float.X)
- func (self Instance) SetNightSky(value [1]gdclass.Texture2D)
- func (self Instance) SetRayleighCoefficient(value Float.X)
- func (self Instance) SetRayleighColor(value Color.RGBA)
- func (self Instance) SetSunDiskScale(value Float.X)
- func (self Instance) SetTurbidity(value Float.X)
- func (self Instance) SetUseDebanding(value bool)
- func (self Instance) SunDiskScale() Float.X
- func (self Instance) Turbidity() Float.X
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) UseDebanding() bool
- func (self Instance) Virtual(name string) reflect.Value
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 Instance ¶
type Instance [1]gdclass.PhysicalSkyMaterial
The [PhysicalSkyMaterial] uses the Preetham analytic daylight model to draw a sky based on physical properties. This results in a substantially more realistic sky than the [ProceduralSkyMaterial], but it is slightly slower and less flexible. The [PhysicalSkyMaterial] only supports one sun. The color, energy, and direction of the sun are taken from the first [DirectionalLight3D] in the scene tree.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsMaterial ¶
func (Instance) AsPhysicalSkyMaterial ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted