Documentation
¶
Overview ¶
Package FogMaterial provides methods for working with FogMaterial object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) Albedo() Color.RGBA
- func (self Instance) AsFogMaterial() Instance
- func (self Instance) AsMaterial() Material.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) Density() Float.X
- func (self Instance) DensityTexture() [1]gdclass.Texture3D
- func (self Instance) EdgeFade() Float.X
- func (self Instance) Emission() Color.RGBA
- func (self Instance) HeightFalloff() Float.X
- func (self Instance) SetAlbedo(value Color.RGBA)
- func (self Instance) SetDensity(value Float.X)
- func (self Instance) SetDensityTexture(value [1]gdclass.Texture3D)
- func (self Instance) SetEdgeFade(value Float.X)
- func (self Instance) SetEmission(value Color.RGBA)
- func (self Instance) SetHeightFalloff(value Float.X)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- 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.FogMaterial
A [Material] resource that can be used by [FogVolume]s to draw volumetric effects. If you need more advanced effects, use a custom [url=$DOCS_URL/tutorials/shaders/shader_reference/fog_shader.html]fog shader[/url].
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsFogMaterial ¶
func (Instance) AsMaterial ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) DensityTexture ¶
func (Instance) HeightFalloff ¶
func (Instance) SetDensity ¶
func (Instance) SetDensityTexture ¶
func (Instance) SetEdgeFade ¶
func (Instance) SetEmission ¶
func (Instance) SetHeightFalloff ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.