
Public Member Functions | |
| virtual real MCCOMAPI | GetValue (const TVector3 &point)=0 |
| virtual void MCCOMAPI | SetScale (const TVector3 &scale)=0 |
| virtual void MCCOMAPI | SetPrecision (const real precision)=0 |
| virtual boolean MCCOMAPI | IsShapeChanged ()=0 |
| virtual real MCCOMAPI I3DShVolumetricCloudsShape::GetValue | ( | const TVector3 & | point | ) | [pure virtual] |
This return a density value of the cloud at a given point. The density must be between 0 and 1. > 0 is no density (fully transparent) > 1 is cloud
| point | the point will be contained in the box defined by {(0,0,0), size } |
| virtual void MCCOMAPI I3DShVolumetricCloudsShape::SetScale | ( | const TVector3 & | scale | ) | [pure virtual] |
Use to tell the Shape the scale it will be displayed.
| scale | the 3 directions scale |
| virtual void MCCOMAPI I3DShVolumetricCloudsShape::SetPrecision | ( | const real | precision | ) | [pure virtual] |
Use to tell the Shape the precision requested.
| precision | Level of precision. 0.0f is the poorest, 1.0f is the best. |
| virtual boolean MCCOMAPI I3DShVolumetricCloudsShape::IsShapeChanged | ( | ) | [pure virtual] |
Use to know if the shape has changed since the last time time function is called. Very usefull for updating the caches. Be accurate on the returned value to avoid HUGE recomputation.
1.5.3