Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Nez
ParticleCollisionConfig
C# Class Nez.ParticleCollisionConfig
Afficher le fichier
Open project: prime31/Nez
Méthodes publiques
Свойство
Type
Description
collidesWithLayers
int
elasticity
float
enabled
bool
friction
float
gravity
Vector2
lifetimeLoss
float
minKillSpeedSquared
float
radiusScale
float
Property Details
collidesWithLayers
public_oe property
control which layers this particle system collides with
public
int
collidesWithLayers
Résultat
int
elasticity
public_oe property
0 - 1 range where 0 is no bounce and 1 is perfect reflection
public
float
elasticity
Résultat
float
enabled
public_oe property
enable/disable particle collision
public
bool
enabled
Résultat
bool
friction
public_oe property
0 - 1 range. 0 means no friction, 1 means the object will stop dead on
public
float
friction
Résultat
float
gravity
public_oe property
gravity value used for simulation after a collision occurs
public
Vector2
gravity
Résultat
Vector2
lifetimeLoss
public_oe property
how much a particle's lifetime is reduced after a collision. 0 is none and 1 is all of it.
public
float
lifetimeLoss
Résultat
float
minKillSpeedSquared
public_oe property
kill particles whose squared speed falls below this threshold, after a collision
public
float
minKillSpeedSquared
Résultat
float
radiusScale
public_oe property
A multiplier applied to the size of each particle before collisions are processed.
public
float
radiusScale
Résultat
float