Obi
6.4
Unified particle physics for Unity
|
Public Member Functions | |
override void | UpdateFluidRenderingCommandBuffer () |
Public Member Functions inherited from Obi.ObiBaseFluidRenderer | |
void | OnEnable () |
void | OnDisable () |
Public Attributes | |
FluidRenderingUtils.FluidRendererSettings | settings |
Public Attributes inherited from Obi.ObiBaseFluidRenderer | |
ObiParticleRenderer[] | particleRenderers |
Protected Member Functions | |
override void | Setup () |
override void | Cleanup () |
Protected Member Functions inherited from Obi.ObiBaseFluidRenderer | |
Material | CreateMaterial (Shader shader) |
Additional Inherited Members | |
Protected Attributes inherited from Obi.ObiBaseFluidRenderer | |
CommandBuffer | renderFluid |
Camera | currentCam |
High-quality fluid rendering, supports both 2D and 3D. Performs depth testing against the scene, considers reflection, refraction, lighting, transmission, and foam.
|
virtual |
Re-generates the CommandBuffer used for fluid rendering. Call it whenever a new ParticleRenderer is added, removed or modified.
Implements Obi.ObiBaseFluidRenderer.