gs.materials.PBD.Particle#
- class genesis.engine.materials.PBD.particle.Particle(*, use_visual_raycasting: bool = False, rho: float = 1000.0, sampler: Literal['pbs', 'random', 'regular'] = 'pbs') None[source]#
Particle-based entities with no inter-particle interaction.
Note
This creates particle-based entities that have no inter-particle interaction at all; i.e. they are only affected by external forces. This is useful for creating particle-based animations. Hosted under the PBD system.
- Parameters:
rho (float, optional) – The rest density. Default is 1000.0.
sampler (str, optional) – Particle sampler (‘pbs’, ‘regular’, ‘random’). Note that ‘pbs’ is only supported on Linux x86 for now. Defaults to ‘pbs’ on supported platforms, ‘random’ otherwise.