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

Public Member Functions

 HairOptions ()
 
 HairOptions (const Any &a)
 
size_t hashCode () const
 
bool operator== (const HairOptions &other) const
 
Any toAny () const
 

Public Attributes

bool separateSurfacePerStrand
 If true, will make an independent surface for each strand. More...
 
int sideCount
 How tesselated to make the cylinders approximating the hair strands. More...
 
float strandRadiusMultiplier
 

Constructor & Destructor Documentation

◆ HairOptions() [1/2]

G3D::ArticulatedModel::Specification::HairOptions::HairOptions ( )
inline

◆ HairOptions() [2/2]

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

Member Function Documentation

◆ hashCode()

size_t G3D::ArticulatedModel::Specification::HairOptions::hashCode ( ) const
inline

◆ operator==()

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

◆ toAny()

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

Member Data Documentation

◆ separateSurfacePerStrand

bool G3D::ArticulatedModel::Specification::HairOptions::separateSurfacePerStrand

If true, will make an independent surface for each strand.

This will improve the quality of sorted transparency at a potentially catastrophic performance penalty.

Referenced by hashCode(), and operator==().

◆ sideCount

int G3D::ArticulatedModel::Specification::HairOptions::sideCount

How tesselated to make the cylinders approximating the hair strands.

6 is a hexagonal prism.

Referenced by hashCode(), and operator==().

◆ strandRadiusMultiplier

float G3D::ArticulatedModel::Specification::HairOptions::strandRadiusMultiplier

Referenced by hashCode(), and operator==().


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