Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiFluidRenderer Class Reference
Inheritance diagram for Obi.ObiFluidRenderer:
Obi.ObiBaseFluidRenderer

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
 

Detailed Description

High-quality fluid rendering, supports both 2D and 3D. Performs depth testing against the scene, considers reflection, refraction, lighting, transmission, and foam.

Member Function Documentation

override void Obi.ObiFluidRenderer.UpdateFluidRenderingCommandBuffer ( )
virtual

Re-generates the CommandBuffer used for fluid rendering. Call it whenever a new ParticleRenderer is added, removed or modified.

Implements Obi.ObiBaseFluidRenderer.


The documentation for this class was generated from the following file: