Documentation
¶
Overview ¶
Package VisualShaderNodeParticleAccelerator provides methods for working with VisualShaderNodeParticleAccelerator object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
- func (self Instance) AsVisualShaderNodeParticleAccelerator() Instance
- func (self Instance) Mode() gdclass.VisualShaderNodeParticleAcceleratorMode
- func (self Instance) SetMode(value gdclass.VisualShaderNodeParticleAcceleratorMode)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
- type Mode
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.VisualShaderNodeParticleAccelerator
Particle accelerator can be used in "process" step of particle shader. It will accelerate the particles. Connect it to the Velocity output port.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) AsVisualShaderNode ¶
func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
func (Instance) AsVisualShaderNodeParticleAccelerator ¶
func (Instance) Mode ¶
func (self Instance) Mode() gdclass.VisualShaderNodeParticleAcceleratorMode
func (Instance) SetMode ¶
func (self Instance) SetMode(value gdclass.VisualShaderNodeParticleAcceleratorMode)
func (*Instance) UnsafePointer ¶
type Mode ¶
type Mode = gdclass.VisualShaderNodeParticleAcceleratorMode //gd:VisualShaderNodeParticleAccelerator.Mode
const ( /*The particles will be accelerated based on their velocity.*/ ModeLinear Mode = 0 /*The particles will be accelerated towards or away from the center.*/ ModeRadial Mode = 1 /*The particles will be accelerated tangentially to the radius vector from center to their position.*/ ModeTangential Mode = 2 /*Represents the size of the [enum Mode] enum.*/ ModeMax Mode = 3 )
Click to show internal directories.
Click to hide internal directories.