VoxelFarm::IMask Class Referenceabstract

An interface for a 3D mask. A mask can be used to control the application of other features. More...

#include <VoxelLayer.h>

Inheritance diagram for VoxelFarm::IMask:
VoxelFarm::CHeightmapWaterLayer VoxelFarm::CInstanceManager VoxelFarm::CInstanceHeightMap VoxelFarm::CInstanceSimplexWorld

Public Member Functions

virtual double getMaskValue (double x, double y, double z)=0
 Returns the mask strength value for the specified 3D point. The value must be between 0 and 1. More...
 

Detailed Description

An interface for a 3D mask. A mask can be used to control the application of other features.

Definition at line 581 of file VoxelLayer.h.

Member Function Documentation

virtual double VoxelFarm::IMask::getMaskValue ( double  x,
double  y,
double  z 
)
pure virtual

Returns the mask strength value for the specified 3D point. The value must be between 0 and 1.

Parameters
xWorld X coordinate
yWorld Y coordinate
zWorld Z coordinate

Implemented in VoxelFarm::CHeightmapWaterLayer, and VoxelFarm::CInstanceManager.


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