reckfellENGINE

GpuParticlesAttractorSphere3D

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

On this page
class GpuParticlesAttractorSphere3DReckfellSharpInherits GpuParticlesAttractor3D

A spheroid-shaped attractor that influences particles from GpuParticles3D nodes.

A spheroid-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

GpuParticlesAttractorSphere3DConstructor
# GpuParticlesAttractorSphere3D
C#
public GpuParticlesAttractorSphere3D();

Properties1

RadiusProperty
# Radius
C#
public float Radius { get; set; }

Sphere influence radius in local space. Particles outside the region receive no contribution from it. Not collision radius, mesh size or emitter VisibilityAabb.

Methods2

GetRadiusfloat
# GetRadius
C#
public float GetRadius();

Returns Radius. Sphere influence radius in local space. Particles outside the region receive no contribution from it. Not collision radius, mesh size or emitter VisibilityAabb.

Returns float

Current Radius value; account for the described units and scope.

SetRadiusvoid
# SetRadius
C#
public void SetRadius(float radius);

Sets Radius. Sphere influence radius in local space. Particles outside the region receive no contribution from it. Not collision radius, mesh size or emitter VisibilityAabb.

Parameters
NameTypeDefault
radiusfloat—
radius

Sphere influence radius in local space. Particles outside the region receive no contribution from it. Not collision radius, mesh size or emitter VisibilityAabb.

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.