Documentation
¶
Overview ¶
graphics.gd/classdb/ParticleProcessMaterial defines particle properties and behavior. It is used in the process_material of the graphics.gd/classdb/GPUParticles2D and graphics.gd/classdb/GPUParticles3D nodes. Some of this material's properties are applied to each particle when emitted, while others can have a graphics.gd/classdb/CurveTexture or a graphics.gd/classdb/GradientTexture1D applied to vary numerical or color values over the lifetime of the particle.
Index ¶
- type Advanced
- type Any
- type CollisionMode
- type EmissionShape
- type Extension
- type ID
- type Instance
- func (self Instance) AlphaCurve() Texture2D.Instance
- func (self Instance) Angle() Vector2.XY
- func (self Instance) AngleCurve() Texture2D.Instance
- func (self Instance) AngleMax() Angle.Radians
- func (self Instance) AngleMin() Angle.Radians
- func (self Instance) AngularVelocity() Vector2.XY
- func (self Instance) AngularVelocityCurve() Texture2D.Instance
- func (self Instance) AngularVelocityMax() Float.X
- func (self Instance) AngularVelocityMin() Float.X
- func (self Instance) AnimOffset() Vector2.XY
- func (self Instance) AnimOffsetCurve() Texture2D.Instance
- func (self Instance) AnimOffsetMax() Float.X
- func (self Instance) AnimOffsetMin() Float.X
- func (self Instance) AnimSpeed() Vector2.XY
- func (self Instance) AnimSpeedCurve() Texture2D.Instance
- func (self Instance) AnimSpeedMax() Float.X
- func (self Instance) AnimSpeedMin() Float.X
- func (self Instance) AsMaterial() Material.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsParticleProcessMaterial() Instance
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) AttractorInteractionEnabled() bool
- func (self Instance) CollisionBounce() Float.X
- func (self Instance) CollisionFriction() Float.X
- func (self Instance) CollisionMode() CollisionMode
- func (self Instance) CollisionUseScale() bool
- func (self Instance) Color() Color.RGBA
- func (self Instance) ColorInitialRamp() Texture2D.Instance
- func (self Instance) ColorRamp() Texture2D.Instance
- func (self Instance) Damping() Vector2.XY
- func (self Instance) DampingCurve() Texture2D.Instance
- func (self Instance) DampingMax() Float.X
- func (self Instance) DampingMin() Float.X
- func (self Instance) Direction() Vector3.XYZ
- func (self Instance) DirectionalVelocity() Vector2.XY
- func (self Instance) DirectionalVelocityCurve() Texture2D.Instance
- func (self Instance) DirectionalVelocityMax() Float.X
- func (self Instance) DirectionalVelocityMin() Float.X
- func (self Instance) EmissionBoxExtents() Vector3.XYZ
- func (self Instance) EmissionColorTexture() Texture2D.Instance
- func (self Instance) EmissionCurve() Texture2D.Instance
- func (self Instance) EmissionNormalTexture() Texture2D.Instance
- func (self Instance) EmissionPointCount() int
- func (self Instance) EmissionPointTexture() Texture2D.Instance
- func (self Instance) EmissionRingAxis() Vector3.XYZ
- func (self Instance) EmissionRingConeAngle() Angle.Radians
- func (self Instance) EmissionRingHeight() Float.X
- func (self Instance) EmissionRingInnerRadius() Float.X
- func (self Instance) EmissionRingRadius() Float.X
- func (self Instance) EmissionShape() EmissionShape
- func (self Instance) EmissionShapeOffset() Vector3.XYZ
- func (self Instance) EmissionShapeScale() Vector3.XYZ
- func (self Instance) EmissionSphereRadius() Float.X
- func (self Instance) Flatness() Float.X
- func (self Instance) Gravity() Vector3.XYZ
- func (self Instance) HueVariation() Vector2.XY
- func (self Instance) HueVariationCurve() Texture2D.Instance
- func (self Instance) HueVariationMax() Float.X
- func (self Instance) HueVariationMin() Float.X
- func (self Instance) ID() ID
- func (self Instance) InheritVelocityRatio() Float.X
- func (self Instance) InitialVelocity() Vector2.XY
- func (self Instance) InitialVelocityMax() Float.X
- func (self Instance) InitialVelocityMin() Float.X
- func (self Instance) LifetimeRandomness() Float.X
- func (self Instance) LinearAccel() Vector2.XY
- func (self Instance) LinearAccelCurve() Texture2D.Instance
- func (self Instance) LinearAccelMax() Float.X
- func (self Instance) LinearAccelMin() Float.X
- func (self Instance) OnEmissionShapeChanged(cb func(), flags ...Signal.Flags)
- func (self Instance) OrbitVelocity() Vector2.XY
- func (self Instance) OrbitVelocityCurve() Texture2D.Instance
- func (self Instance) OrbitVelocityMax() Float.X
- func (self Instance) OrbitVelocityMin() Float.X
- func (self Instance) ParticleFlagAlignY() bool
- func (self Instance) ParticleFlagDampingAsFriction() bool
- func (self Instance) ParticleFlagDisableZ() bool
- func (self Instance) ParticleFlagRotateY() bool
- func (self Instance) RadialAccel() Vector2.XY
- func (self Instance) RadialAccelCurve() Texture2D.Instance
- func (self Instance) RadialAccelMax() Float.X
- func (self Instance) RadialAccelMin() Float.X
- func (self Instance) RadialVelocity() Vector2.XY
- func (self Instance) RadialVelocityCurve() Texture2D.Instance
- func (self Instance) RadialVelocityMax() Float.X
- func (self Instance) RadialVelocityMin() Float.X
- func (self Instance) Scale() Vector2.XY
- func (self Instance) ScaleCurve() Texture2D.Instance
- func (self Instance) ScaleMax() Float.X
- func (self Instance) ScaleMin() Float.X
- func (self Instance) ScaleOverVelocity() Vector2.XY
- func (self Instance) ScaleOverVelocityCurve() Texture2D.Instance
- func (self Instance) ScaleOverVelocityMax() Float.X
- func (self Instance) ScaleOverVelocityMin() Float.X
- func (self Instance) SetAlphaCurve(value Texture2D.Instance)
- func (self Instance) SetAngle(value Vector2.XY)
- func (self Instance) SetAngleCurve(value Texture2D.Instance)
- func (self Instance) SetAngleMax(value Angle.Radians)
- func (self Instance) SetAngleMin(value Angle.Radians)
- func (self Instance) SetAngularVelocity(value Vector2.XY)
- func (self Instance) SetAngularVelocityCurve(value Texture2D.Instance)
- func (self Instance) SetAngularVelocityMax(value Float.X)
- func (self Instance) SetAngularVelocityMin(value Float.X)
- func (self Instance) SetAnimOffset(value Vector2.XY)
- func (self Instance) SetAnimOffsetCurve(value Texture2D.Instance)
- func (self Instance) SetAnimOffsetMax(value Float.X)
- func (self Instance) SetAnimOffsetMin(value Float.X)
- func (self Instance) SetAnimSpeed(value Vector2.XY)
- func (self Instance) SetAnimSpeedCurve(value Texture2D.Instance)
- func (self Instance) SetAnimSpeedMax(value Float.X)
- func (self Instance) SetAnimSpeedMin(value Float.X)
- func (self Instance) SetAttractorInteractionEnabled(value bool)
- func (self Instance) SetCollisionBounce(value Float.X)
- func (self Instance) SetCollisionFriction(value Float.X)
- func (self Instance) SetCollisionMode(value CollisionMode)
- func (self Instance) SetCollisionUseScale(value bool)
- func (self Instance) SetColor(value Color.RGBA)
- func (self Instance) SetColorInitialRamp(value Texture2D.Instance)
- func (self Instance) SetColorRamp(value Texture2D.Instance)
- func (self Instance) SetDamping(value Vector2.XY)
- func (self Instance) SetDampingCurve(value Texture2D.Instance)
- func (self Instance) SetDampingMax(value Float.X)
- func (self Instance) SetDampingMin(value Float.X)
- func (self Instance) SetDirection(value Vector3.XYZ)
- func (self Instance) SetDirectionalVelocity(value Vector2.XY)
- func (self Instance) SetDirectionalVelocityCurve(value Texture2D.Instance)
- func (self Instance) SetDirectionalVelocityMax(value Float.X)
- func (self Instance) SetDirectionalVelocityMin(value Float.X)
- func (self Instance) SetEmissionBoxExtents(value Vector3.XYZ)
- func (self Instance) SetEmissionColorTexture(value Texture2D.Instance)
- func (self Instance) SetEmissionCurve(value Texture2D.Instance)
- func (self Instance) SetEmissionNormalTexture(value Texture2D.Instance)
- func (self Instance) SetEmissionPointCount(value int)
- func (self Instance) SetEmissionPointTexture(value Texture2D.Instance)
- func (self Instance) SetEmissionRingAxis(value Vector3.XYZ)
- func (self Instance) SetEmissionRingConeAngle(value Angle.Radians)
- func (self Instance) SetEmissionRingHeight(value Float.X)
- func (self Instance) SetEmissionRingInnerRadius(value Float.X)
- func (self Instance) SetEmissionRingRadius(value Float.X)
- func (self Instance) SetEmissionShape(value EmissionShape)
- func (self Instance) SetEmissionShapeOffset(value Vector3.XYZ)
- func (self Instance) SetEmissionShapeScale(value Vector3.XYZ)
- func (self Instance) SetEmissionSphereRadius(value Float.X)
- func (self Instance) SetFlatness(value Float.X)
- func (self Instance) SetGravity(value Vector3.XYZ)
- func (self Instance) SetHueVariation(value Vector2.XY)
- func (self Instance) SetHueVariationCurve(value Texture2D.Instance)
- func (self Instance) SetHueVariationMax(value Float.X)
- func (self Instance) SetHueVariationMin(value Float.X)
- func (self Instance) SetInheritVelocityRatio(value Float.X)
- func (self Instance) SetInitialVelocity(value Vector2.XY)
- func (self Instance) SetInitialVelocityMax(value Float.X)
- func (self Instance) SetInitialVelocityMin(value Float.X)
- func (self Instance) SetLifetimeRandomness(value Float.X)
- func (self Instance) SetLinearAccel(value Vector2.XY)
- func (self Instance) SetLinearAccelCurve(value Texture2D.Instance)
- func (self Instance) SetLinearAccelMax(value Float.X)
- func (self Instance) SetLinearAccelMin(value Float.X)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetOrbitVelocity(value Vector2.XY)
- func (self Instance) SetOrbitVelocityCurve(value Texture2D.Instance)
- func (self Instance) SetOrbitVelocityMax(value Float.X)
- func (self Instance) SetOrbitVelocityMin(value Float.X)
- func (self Instance) SetParticleFlagAlignY(value bool)
- func (self Instance) SetParticleFlagDampingAsFriction(value bool)
- func (self Instance) SetParticleFlagDisableZ(value bool)
- func (self Instance) SetParticleFlagRotateY(value bool)
- func (self Instance) SetRadialAccel(value Vector2.XY)
- func (self Instance) SetRadialAccelCurve(value Texture2D.Instance)
- func (self Instance) SetRadialAccelMax(value Float.X)
- func (self Instance) SetRadialAccelMin(value Float.X)
- func (self Instance) SetRadialVelocity(value Vector2.XY)
- func (self Instance) SetRadialVelocityCurve(value Texture2D.Instance)
- func (self Instance) SetRadialVelocityMax(value Float.X)
- func (self Instance) SetRadialVelocityMin(value Float.X)
- func (self Instance) SetScale(value Vector2.XY)
- func (self Instance) SetScaleCurve(value Texture2D.Instance)
- func (self Instance) SetScaleMax(value Float.X)
- func (self Instance) SetScaleMin(value Float.X)
- func (self Instance) SetScaleOverVelocity(value Vector2.XY)
- func (self Instance) SetScaleOverVelocityCurve(value Texture2D.Instance)
- func (self Instance) SetScaleOverVelocityMax(value Float.X)
- func (self Instance) SetScaleOverVelocityMin(value Float.X)
- func (self Instance) SetSpread(value Float.X)
- func (self Instance) SetSubEmitterAmountAtCollision(value int)
- func (self Instance) SetSubEmitterAmountAtEnd(value int)
- func (self Instance) SetSubEmitterAmountAtStart(value int)
- func (self Instance) SetSubEmitterFrequency(value Float.X)
- func (self Instance) SetSubEmitterKeepVelocity(value bool)
- func (self Instance) SetSubEmitterMode(value SubEmitterMode)
- func (self Instance) SetTangentialAccel(value Vector2.XY)
- func (self Instance) SetTangentialAccelCurve(value Texture2D.Instance)
- func (self Instance) SetTangentialAccelMax(value Float.X)
- func (self Instance) SetTangentialAccelMin(value Float.X)
- func (self Instance) SetTurbulenceEnabled(value bool)
- func (self Instance) SetTurbulenceInfluence(value Vector2.XY)
- func (self Instance) SetTurbulenceInfluenceMax(value Float.X)
- func (self Instance) SetTurbulenceInfluenceMin(value Float.X)
- func (self Instance) SetTurbulenceInfluenceOverLife(value Texture2D.Instance)
- func (self Instance) SetTurbulenceInitialDisplacement(value Vector2.XY)
- func (self Instance) SetTurbulenceInitialDisplacementMax(value Float.X)
- func (self Instance) SetTurbulenceInitialDisplacementMin(value Float.X)
- func (self Instance) SetTurbulenceNoiseScale(value Float.X)
- func (self Instance) SetTurbulenceNoiseSpeed(value Vector3.XYZ)
- func (self Instance) SetTurbulenceNoiseSpeedRandom(value Float.X)
- func (self Instance) SetTurbulenceNoiseStrength(value Float.X)
- func (self Instance) SetVelocityLimitCurve(value Texture2D.Instance)
- func (self Instance) SetVelocityPivot(value Vector3.XYZ)
- func (self Instance) Spread() Float.X
- func (self Instance) SubEmitterAmountAtCollision() int
- func (self Instance) SubEmitterAmountAtEnd() int
- func (self Instance) SubEmitterAmountAtStart() int
- func (self Instance) SubEmitterFrequency() Float.X
- func (self Instance) SubEmitterKeepVelocity() bool
- func (self Instance) SubEmitterMode() SubEmitterMode
- func (self Instance) TangentialAccel() Vector2.XY
- func (self Instance) TangentialAccelCurve() Texture2D.Instance
- func (self Instance) TangentialAccelMax() Float.X
- func (self Instance) TangentialAccelMin() Float.X
- func (self Instance) TurbulenceEnabled() bool
- func (self Instance) TurbulenceInfluence() Vector2.XY
- func (self Instance) TurbulenceInfluenceMax() Float.X
- func (self Instance) TurbulenceInfluenceMin() Float.X
- func (self Instance) TurbulenceInfluenceOverLife() Texture2D.Instance
- func (self Instance) TurbulenceInitialDisplacement() Vector2.XY
- func (self Instance) TurbulenceInitialDisplacementMax() Float.X
- func (self Instance) TurbulenceInitialDisplacementMin() Float.X
- func (self Instance) TurbulenceNoiseScale() Float.X
- func (self Instance) TurbulenceNoiseSpeed() Vector3.XYZ
- func (self Instance) TurbulenceNoiseSpeedRandom() Float.X
- func (self Instance) TurbulenceNoiseStrength() Float.X
- func (self Instance) VelocityLimitCurve() Texture2D.Instance
- func (self Instance) VelocityPivot() Vector3.XYZ
- func (self Instance) Virtual(name string) reflect.Value
- type Parameter
- type ParticleFlags
- type SubEmitterMode
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 CollisionMode ¶
type CollisionMode int //gd:ParticleProcessMaterial.CollisionMode
const ( // No collision for particles. Particles will go through [graphics.gd/classdb/GPUParticlesCollision3D] nodes. CollisionDisabled CollisionMode = 0 // [graphics.gd/classdb/RigidBody3D]-style collision for particles using [graphics.gd/classdb/GPUParticlesCollision3D] nodes. CollisionRigid CollisionMode = 1 // Hide particles instantly when colliding with a [graphics.gd/classdb/GPUParticlesCollision3D] node. This can be combined with a subemitter that uses the [CollisionRigid] collision mode to "replace" the parent particle with the subemitter on impact. CollisionHideOnContact CollisionMode = 2 // Represents the size of the [CollisionMode] enum. CollisionMax CollisionMode = 3 )
type EmissionShape ¶
type EmissionShape int //gd:ParticleProcessMaterial.EmissionShape
const ( // All particles will be emitted from a single point. EmissionShapePoint EmissionShape = 0 // Particles will be emitted in the volume of a sphere. EmissionShapeSphere EmissionShape = 1 // Particles will be emitted on the surface of a sphere. EmissionShapeSphereSurface EmissionShape = 2 // Particles will be emitted in the volume of a box. EmissionShapeBox EmissionShape = 3 // Particles will be emitted at a position determined by sampling a random point on the [Instance.EmissionPointTexture]. Particle color will be modulated by [Instance.EmissionColorTexture]. EmissionShapePoints EmissionShape = 4 // Particles will be emitted at a position determined by sampling a random point on the [Instance.EmissionPointTexture]. Particle velocity and rotation will be set based on [Instance.EmissionNormalTexture]. Particle color will be modulated by [Instance.EmissionColorTexture]. EmissionShapeDirectedPoints EmissionShape = 5 // Particles will be emitted in a ring or cylinder. EmissionShapeRing EmissionShape = 6 // Represents the size of the [EmissionShape] enum. EmissionShapeMax EmissionShape = 7 )
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]) AsMaterial ¶
func (*Extension[T]) AsParticleProcessMaterial ¶
func (*Extension[T]) AsRefCounted ¶
func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
func (*Extension[T]) AsResource ¶
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 Instance ¶
type Instance [1]gdclass.ParticleProcessMaterial
Instance of the class with convieniently typed arguments and results.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AlphaCurve ¶
func (Instance) AngleCurve ¶
func (Instance) AngularVelocity ¶
func (Instance) AngularVelocityCurve ¶
func (Instance) AngularVelocityMax ¶
func (Instance) AngularVelocityMin ¶
func (Instance) AnimOffset ¶
func (Instance) AnimOffsetCurve ¶
func (Instance) AnimOffsetMax ¶
func (Instance) AnimOffsetMin ¶
func (Instance) AnimSpeedCurve ¶
func (Instance) AnimSpeedMax ¶
func (Instance) AnimSpeedMin ¶
func (Instance) AsMaterial ¶
func (Instance) AsParticleProcessMaterial ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) AttractorInteractionEnabled ¶
func (Instance) CollisionBounce ¶
func (Instance) CollisionFriction ¶
func (Instance) CollisionMode ¶
func (self Instance) CollisionMode() CollisionMode
func (Instance) CollisionUseScale ¶
func (Instance) ColorInitialRamp ¶
func (Instance) DampingCurve ¶
func (Instance) DampingMax ¶
func (Instance) DampingMin ¶
func (Instance) DirectionalVelocity ¶
func (Instance) DirectionalVelocityCurve ¶
func (Instance) DirectionalVelocityMax ¶
func (Instance) DirectionalVelocityMin ¶
func (Instance) EmissionBoxExtents ¶
func (Instance) EmissionColorTexture ¶
func (Instance) EmissionCurve ¶
func (Instance) EmissionNormalTexture ¶
func (Instance) EmissionPointCount ¶
func (Instance) EmissionPointTexture ¶
func (Instance) EmissionRingAxis ¶
func (Instance) EmissionRingConeAngle ¶
func (Instance) EmissionRingHeight ¶
func (Instance) EmissionRingInnerRadius ¶
func (Instance) EmissionRingRadius ¶
func (Instance) EmissionShape ¶
func (self Instance) EmissionShape() EmissionShape
func (Instance) EmissionShapeOffset ¶
func (Instance) EmissionShapeScale ¶
func (Instance) EmissionSphereRadius ¶
func (Instance) HueVariation ¶
func (Instance) HueVariationCurve ¶
func (Instance) HueVariationMax ¶
func (Instance) HueVariationMin ¶
func (Instance) InheritVelocityRatio ¶
func (Instance) InitialVelocity ¶
func (Instance) InitialVelocityMax ¶
func (Instance) InitialVelocityMin ¶
func (Instance) LifetimeRandomness ¶
func (Instance) LinearAccel ¶
func (Instance) LinearAccelCurve ¶
func (Instance) LinearAccelMax ¶
func (Instance) LinearAccelMin ¶
func (Instance) OnEmissionShapeChanged ¶
func (Instance) OrbitVelocity ¶
func (Instance) OrbitVelocityCurve ¶
func (Instance) OrbitVelocityMax ¶
func (Instance) OrbitVelocityMin ¶
func (Instance) ParticleFlagAlignY ¶
func (Instance) ParticleFlagDampingAsFriction ¶
func (Instance) ParticleFlagDisableZ ¶
func (Instance) ParticleFlagRotateY ¶
func (Instance) RadialAccel ¶
func (Instance) RadialAccelCurve ¶
func (Instance) RadialAccelMax ¶
func (Instance) RadialAccelMin ¶
func (Instance) RadialVelocity ¶
func (Instance) RadialVelocityCurve ¶
func (Instance) RadialVelocityMax ¶
func (Instance) RadialVelocityMin ¶
func (Instance) ScaleCurve ¶
func (Instance) ScaleOverVelocity ¶
func (Instance) ScaleOverVelocityCurve ¶
func (Instance) ScaleOverVelocityMax ¶
func (Instance) ScaleOverVelocityMin ¶
func (Instance) SetAlphaCurve ¶
func (Instance) SetAngleCurve ¶
func (Instance) SetAngleMax ¶
func (Instance) SetAngleMin ¶
func (Instance) SetAngularVelocity ¶
func (Instance) SetAngularVelocityCurve ¶
func (Instance) SetAngularVelocityMax ¶
func (Instance) SetAngularVelocityMin ¶
func (Instance) SetAnimOffset ¶
func (Instance) SetAnimOffsetCurve ¶
func (Instance) SetAnimOffsetMax ¶
func (Instance) SetAnimOffsetMin ¶
func (Instance) SetAnimSpeed ¶
func (Instance) SetAnimSpeedCurve ¶
func (Instance) SetAnimSpeedMax ¶
func (Instance) SetAnimSpeedMin ¶
func (Instance) SetAttractorInteractionEnabled ¶
func (Instance) SetCollisionBounce ¶
func (Instance) SetCollisionFriction ¶
func (Instance) SetCollisionMode ¶
func (self Instance) SetCollisionMode(value CollisionMode)
func (Instance) SetCollisionUseScale ¶
func (Instance) SetColorInitialRamp ¶
func (Instance) SetColorRamp ¶
func (Instance) SetDamping ¶
func (Instance) SetDampingCurve ¶
func (Instance) SetDampingMax ¶
func (Instance) SetDampingMin ¶
func (Instance) SetDirection ¶
func (Instance) SetDirectionalVelocity ¶
func (Instance) SetDirectionalVelocityCurve ¶
func (Instance) SetDirectionalVelocityMax ¶
func (Instance) SetDirectionalVelocityMin ¶
func (Instance) SetEmissionBoxExtents ¶
func (Instance) SetEmissionColorTexture ¶
func (Instance) SetEmissionCurve ¶
func (Instance) SetEmissionNormalTexture ¶
func (Instance) SetEmissionPointCount ¶
func (Instance) SetEmissionPointTexture ¶
func (Instance) SetEmissionRingAxis ¶
func (Instance) SetEmissionRingConeAngle ¶
func (Instance) SetEmissionRingHeight ¶
func (Instance) SetEmissionRingInnerRadius ¶
func (Instance) SetEmissionRingRadius ¶
func (Instance) SetEmissionShape ¶
func (self Instance) SetEmissionShape(value EmissionShape)
func (Instance) SetEmissionShapeOffset ¶
func (Instance) SetEmissionShapeScale ¶
func (Instance) SetEmissionSphereRadius ¶
func (Instance) SetFlatness ¶
func (Instance) SetGravity ¶
func (Instance) SetHueVariation ¶
func (Instance) SetHueVariationCurve ¶
func (Instance) SetHueVariationMax ¶
func (Instance) SetHueVariationMin ¶
func (Instance) SetInheritVelocityRatio ¶
func (Instance) SetInitialVelocity ¶
func (Instance) SetInitialVelocityMax ¶
func (Instance) SetInitialVelocityMin ¶
func (Instance) SetLifetimeRandomness ¶
func (Instance) SetLinearAccel ¶
func (Instance) SetLinearAccelCurve ¶
func (Instance) SetLinearAccelMax ¶
func (Instance) SetLinearAccelMin ¶
func (Instance) SetOrbitVelocity ¶
func (Instance) SetOrbitVelocityCurve ¶
func (Instance) SetOrbitVelocityMax ¶
func (Instance) SetOrbitVelocityMin ¶
func (Instance) SetParticleFlagAlignY ¶
func (Instance) SetParticleFlagDampingAsFriction ¶
func (Instance) SetParticleFlagDisableZ ¶
func (Instance) SetParticleFlagRotateY ¶
func (Instance) SetRadialAccel ¶
func (Instance) SetRadialAccelCurve ¶
func (Instance) SetRadialAccelMax ¶
func (Instance) SetRadialAccelMin ¶
func (Instance) SetRadialVelocity ¶
func (Instance) SetRadialVelocityCurve ¶
func (Instance) SetRadialVelocityMax ¶
func (Instance) SetRadialVelocityMin ¶
func (Instance) SetScaleCurve ¶
func (Instance) SetScaleMax ¶
func (Instance) SetScaleMin ¶
func (Instance) SetScaleOverVelocity ¶
func (Instance) SetScaleOverVelocityCurve ¶
func (Instance) SetScaleOverVelocityMax ¶
func (Instance) SetScaleOverVelocityMin ¶
func (Instance) SetSubEmitterAmountAtCollision ¶
func (Instance) SetSubEmitterAmountAtEnd ¶
func (Instance) SetSubEmitterAmountAtStart ¶
func (Instance) SetSubEmitterFrequency ¶
func (Instance) SetSubEmitterKeepVelocity ¶
func (Instance) SetSubEmitterMode ¶
func (self Instance) SetSubEmitterMode(value SubEmitterMode)
func (Instance) SetTangentialAccel ¶
func (Instance) SetTangentialAccelCurve ¶
func (Instance) SetTangentialAccelMax ¶
func (Instance) SetTangentialAccelMin ¶
func (Instance) SetTurbulenceEnabled ¶
func (Instance) SetTurbulenceInfluence ¶
func (Instance) SetTurbulenceInfluenceMax ¶
func (Instance) SetTurbulenceInfluenceMin ¶
func (Instance) SetTurbulenceInfluenceOverLife ¶
func (Instance) SetTurbulenceInitialDisplacement ¶
func (Instance) SetTurbulenceInitialDisplacementMax ¶
func (Instance) SetTurbulenceInitialDisplacementMin ¶
func (Instance) SetTurbulenceNoiseScale ¶
func (Instance) SetTurbulenceNoiseSpeed ¶
func (Instance) SetTurbulenceNoiseSpeedRandom ¶
func (Instance) SetTurbulenceNoiseStrength ¶
func (Instance) SetVelocityLimitCurve ¶
func (Instance) SetVelocityPivot ¶
func (Instance) SubEmitterAmountAtCollision ¶
func (Instance) SubEmitterAmountAtEnd ¶
func (Instance) SubEmitterAmountAtStart ¶
func (Instance) SubEmitterFrequency ¶
func (Instance) SubEmitterKeepVelocity ¶
func (Instance) SubEmitterMode ¶
func (self Instance) SubEmitterMode() SubEmitterMode
func (Instance) TangentialAccel ¶
func (Instance) TangentialAccelCurve ¶
func (Instance) TangentialAccelMax ¶
func (Instance) TangentialAccelMin ¶
func (Instance) TurbulenceEnabled ¶
func (Instance) TurbulenceInfluence ¶
func (Instance) TurbulenceInfluenceMax ¶
func (Instance) TurbulenceInfluenceMin ¶
func (Instance) TurbulenceInfluenceOverLife ¶
func (Instance) TurbulenceInitialDisplacement ¶
func (Instance) TurbulenceInitialDisplacementMax ¶
func (Instance) TurbulenceInitialDisplacementMin ¶
func (Instance) TurbulenceNoiseScale ¶
func (Instance) TurbulenceNoiseSpeed ¶
func (Instance) TurbulenceNoiseSpeedRandom ¶
func (Instance) TurbulenceNoiseStrength ¶
func (Instance) VelocityLimitCurve ¶
func (Instance) VelocityPivot ¶
type Parameter ¶
type Parameter int //gd:ParticleProcessMaterial.Parameter
const ( // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set initial velocity properties. ParamInitialLinearVelocity Parameter = 0 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set angular velocity properties. ParamAngularVelocity Parameter = 1 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set orbital velocity properties. ParamOrbitVelocity Parameter = 2 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set linear acceleration properties. ParamLinearAccel Parameter = 3 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set radial acceleration properties. ParamRadialAccel Parameter = 4 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set tangential acceleration properties. ParamTangentialAccel Parameter = 5 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set damping properties. ParamDamping Parameter = 6 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set angle properties. ParamAngle Parameter = 7 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set scale properties. ParamScale Parameter = 8 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set hue variation properties. ParamHueVariation Parameter = 9 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set animation speed properties. ParamAnimSpeed Parameter = 10 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set animation offset properties. ParamAnimOffset Parameter = 11 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set radial velocity properties. ParamRadialVelocity Parameter = 15 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set directional velocity properties. ParamDirectionalVelocity Parameter = 16 // Use with [Instance.SetParamMin], [Instance.SetParamMax], and [Instance.SetParamTexture] to set scale over velocity properties. ParamScaleOverVelocity Parameter = 17 // Represents the size of the [Parameter] enum. ParamMax Parameter = 18 // Use with [Instance.SetParamMin] and [Instance.SetParamMax] to set the turbulence minimum und maximum influence on each particles velocity. ParamTurbVelInfluence Parameter = 13 // Use with [Instance.SetParamMin] and [Instance.SetParamMax] to set the turbulence minimum and maximum displacement of the particles spawn position. ParamTurbInitDisplacement Parameter = 14 // Use with [Instance.SetParamTexture] to set the turbulence influence over the particles life time. ParamTurbInfluenceOverLife Parameter = 12 )
type ParticleFlags ¶
type ParticleFlags int //gd:ParticleProcessMaterial.ParticleFlags
const ( // Use with [Instance.SetParticleFlag] to set [Instance.ParticleFlagAlignY]. ParticleFlagAlignYToVelocity ParticleFlags = 0 // Use with [Instance.SetParticleFlag] to set [Instance.ParticleFlagRotateY]. ParticleFlagRotateY ParticleFlags = 1 // Use with [Instance.SetParticleFlag] to set [Instance.ParticleFlagDisableZ]. ParticleFlagDisableZ ParticleFlags = 2 ParticleFlagDampingAsFriction ParticleFlags = 3 // Represents the size of the [ParticleFlags] enum. ParticleFlagMax ParticleFlags = 4 )
type SubEmitterMode ¶
type SubEmitterMode int //gd:ParticleProcessMaterial.SubEmitterMode
const ( SubEmitterDisabled SubEmitterMode = 0 SubEmitterConstant SubEmitterMode = 1 SubEmitterAtEnd SubEmitterMode = 2 SubEmitterAtCollision SubEmitterMode = 3 SubEmitterAtStart SubEmitterMode = 4 // Represents the size of the [SubEmitterMode] enum. SubEmitterMax SubEmitterMode = 5 )