VoxelFarm::InstanceDescriptor Struct Reference

Describes a material instance. More...

#include <MaterialLibrary.h>

Public Attributes

int id
 ID for the mesh to be used.
 
double density
 Controls how dense the instance distribution over the material is.
 
double minAngle
 Minimum angle at which the instance appears.
 
double maxAngle
 Maximum angle at which the instance appears.
 
double minSize
 Minimum size for the instance.
 
double maxSize
 Maximum size for the instance.
 
double noiseFreq
 Frequency for the instance distribution noise.
 
double noiseShift
 Amplitude shift for the instance distribution noise.
 

Detailed Description

Describes a material instance.

Definition at line 20 of file MaterialLibrary.h.


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