I3DShVolumetricCloudsShape Struct Reference
[Shell Interfaces]
List of all members.
Detailed Description
A VolumetricCloudsShape defines the shape of a cloud. It defines both the global shape of the cloud and details.
- See also:
- I3DExVolumetricCloudsShape
Member Function Documentation
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
- Parameters:
-
| point | the point will be contained in the box defined by {(0,0,0), size } |
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.
- Returns:
- true if the shape has changed since the last call.
virtual void MCCOMAPI I3DShVolumetricCloudsShape::SetPrecision |
( |
const real |
precision |
) |
[pure virtual] |
Use to tell the Shape the precision requested.
- Parameters:
-
| precision | Level of precision. 0.0f is the poorest, 1.0f is the best. |
virtual void MCCOMAPI I3DShVolumetricCloudsShape::SetScale |
( |
const TVector3 & |
scale |
) |
[pure virtual] |
Use to tell the Shape the scale it will be displayed.
- Parameters:
-
| scale | the 3 directions scale |
The documentation for this struct was generated from the following file: