Enum GpuParticlesCollisionHeightField3D.UpdateModeEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum GpuParticlesCollisionHeightField3D.UpdateModeEnum : long
Fields
Always = 1
Update the heightmap every frame. This has a significant performance cost. This update should only be used when geometry that particles can collide with changes significantly during gameplay.
WhenMoved = 0
Only update the heightmap when the GpuParticlesCollisionHeightField3D node is moved, or when the camera moves if FollowCameraEnabled is true. An update can be forced by slightly moving the GpuParticlesCollisionHeightField3D in any direction, or by calling ParticlesCollisionHeightFieldUpdate(Rid).