GpuParticlesAttractorBox3D
A box-shaped attractor that influences particles from GPUParticles3D nodes.
A box-shaped attractor that influences particles from GpuParticles3D nodes.
A box-shaped attractor that influences particles from GpuParticles3D nodes. Can be used to attract particles towards its origin, or to push them away from its origin.
Particle attractors work in real-time and can be moved, rotated and scaled during gameplay. Unlike collision shapes, non-uniform scaling of attractors is also supported.
Note: Particle attractors only affect GpuParticles3D, not CpuParticles3D.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
GpuParticlesAttractorBox3DConstructor
public GpuParticlesAttractorBox3D();Properties1
SizeProperty
public Vector3 Size { get; set; }Full local box influence dimensions, not half extents. A GPU-particle force region, not visible geometry or a gameplay collider.
Methods2
GetSizeVector3
public Vector3 GetSize();Vector3SetSizevoid
public void SetSize(Vector3 size);| Name | Type | Default |
|---|---|---|
size | Vector3 | — |