3DCoat Core API
The 3DCoat API documentation.
Loading...
Searching...
No Matches
coat::EyeParams Class Reference

struct of the EyeParams data More...

#include <CorePrimAPI.h>

Public Member Functions

 EyeParams ()
 constructor.
 
 EyeParams (float _thick, float _d1, float _d2)
 constructor.
 
EyeParamsinRingDiameter (float _d)
 set the inner ring diameter.
 
EyeParamsoutRingDiameter (float _d)
 set the outer ring diameter.
 
EyeParamsthickness (float _t)
 set the thickness.
 
 operator void * () const
 () operator
 

Public Attributes

float _thickness
 
float _inRingDiameter
 
float _outRingDiameter
 

Detailed Description

struct of the EyeParams data

Constructor & Destructor Documentation

◆ EyeParams()

coat::EyeParams::EyeParams ( float _thick,
float _d1,
float _d2 )

constructor.

Parameters
_thickthickness
_dlinner ring diameter
_d2outer ring diameter

Member Function Documentation

◆ inRingDiameter()

EyeParams & coat::EyeParams::inRingDiameter ( float _d)

set the inner ring diameter.

Parameters
_ddiameter
Returns
EyeParams reference

◆ outRingDiameter()

EyeParams & coat::EyeParams::outRingDiameter ( float _d)

set the outer ring diameter.

Parameters
_ddiameter
Returns
EyeParams reference

◆ thickness()

EyeParams & coat::EyeParams::thickness ( float _t)

set the thickness.

Parameters
_tthickness
Returns
EyeParams reference

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