Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::ArticulatedModel::Specification::HeightfieldOptions Class Reference

Public Member Functions

 HeightfieldOptions ()
 
 HeightfieldOptions (const Any &a)
 
bool operator== (const HeightfieldOptions &other) const
 
Any toAny () const
 

Public Attributes

float elevationScale = 1.0f
 
bool generateBackfaces = false
 Note that you can also setTwoSided() in the preprocess step to avoid generating the backface geometry but still render two-sided. More...
 
Vector2 textureScale = Vector2(1,1)
 For texture coordinate generation. More...
 

Constructor & Destructor Documentation

◆ HeightfieldOptions() [1/2]

G3D::ArticulatedModel::Specification::HeightfieldOptions::HeightfieldOptions ( )
inline

◆ HeightfieldOptions() [2/2]

G3D::ArticulatedModel::Specification::HeightfieldOptions::HeightfieldOptions ( const Any a)

Member Function Documentation

◆ operator==()

bool G3D::ArticulatedModel::Specification::HeightfieldOptions::operator== ( const HeightfieldOptions other) const
inline

◆ toAny()

Any G3D::ArticulatedModel::Specification::HeightfieldOptions::toAny ( ) const

Member Data Documentation

◆ elevationScale

float G3D::ArticulatedModel::Specification::HeightfieldOptions::elevationScale = 1.0f

Referenced by operator==().

◆ generateBackfaces

bool G3D::ArticulatedModel::Specification::HeightfieldOptions::generateBackfaces = false

Note that you can also setTwoSided() in the preprocess step to avoid generating the backface geometry but still render two-sided.

Referenced by operator==().

◆ textureScale

Vector2 G3D::ArticulatedModel::Specification::HeightfieldOptions::textureScale = Vector2(1,1)

For texture coordinate generation.

Set ArticulatedModel::Specification::scale to scale the model

Referenced by operator==().


documentation generated on Wed Nov 24 2021 08:01:53 using doxygen 1.8.15