reckfellENGINE

GpuParticlesCollision3D

Abstract base class for 3D particle collision shapes affecting GPUParticles3D nodes.

On this page
class GpuParticlesCollision3DReckfellSharpInherits VisualInstance3D

Abstract base class for 3D particle collision shapes affecting GpuParticles3D nodes.

Particle collision shapes can be used to make particles stop or bounce against them. Particle collision shapes work in real-time and can be moved, rotated and scaled during gameplay. Unlike attractors, non-uniform scaling of collision shapes is not supported. Particle collision shapes can be temporarily disabled by hiding them. Note: ParticleProcessMaterial.CollisionMode must be ParticleProcessMaterial.CollisionModeEnum.Rigid or ParticleProcessMaterial.CollisionModeEnum.HideOnContact on the GpuParticles3D's process material for collision to work. Note: Particle collision only affects GpuParticles3D, not CpuParticles3D. Note: Particles pushed by a collider that is being moved will not be interpolated, which can result in visible stuttering. This can be alleviated by setting GpuParticles3D.FixedFps to 0 or a value that matches or exceeds the target framerate.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Properties1

CullMaskProperty
# CullMask
C#
public uint CullMask { get; set; }

Selects affected emitters by particle render Layers. Requires at least one common bit. Not a physics CollisionMask or the HeightfieldMask/BakeMask geometry-selection mask.

Methods2

GetCullMaskuint
# GetCullMask
C#
public uint GetCullMask();

Returns CullMask. Selects affected emitters by particle render Layers. Requires at least one common bit. Not a physics CollisionMask or the HeightfieldMask/BakeMask geometry-selection mask.

Returns uint

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

SetCullMaskvoid
# SetCullMask
C#
public void SetCullMask(uint mask);

Sets CullMask. Selects affected emitters by particle render Layers. Requires at least one common bit. Not a physics CollisionMask or the HeightfieldMask/BakeMask geometry-selection mask.

Parameters
NameTypeDefault
maskuint—
mask

Selects affected emitters by particle render Layers. Requires at least one common bit. Not a physics CollisionMask or the HeightfieldMask/BakeMask geometry-selection mask.

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.