reckfellENGINE

GpuParticlesAttractorBox3D

A box-shaped attractor that influences particles from GPUParticles3D nodes.

On this page
class GpuParticlesAttractorBox3DReckfellSharpInherits GpuParticlesAttractor3D

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
# GpuParticlesAttractorBox3D
C#
public GpuParticlesAttractorBox3D();

Properties1

SizeProperty
# Size
C#
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
# GetSize
C#
public Vector3 GetSize();
Returns Vector3
SetSizevoid
# SetSize
C#
public void SetSize(Vector3 size);
Parameters
NameTypeDefault
sizeVector3—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.