Blender V4.3
SubdParams Struct Reference

#include <dice.h>

Public Member Functions

 SubdParams (Mesh *mesh_, bool ptex_=false)
 

Public Attributes

Meshmesh
 
bool ptex
 
int test_steps
 
int split_threshold
 
float dicing_rate
 
int max_level
 
Cameracamera
 
Transform objecttoworld
 

Detailed Description

Definition at line 24 of file dice.h.

Constructor & Destructor Documentation

◆ SubdParams()

SubdParams::SubdParams ( Mesh * mesh_,
bool ptex_ = false )
inline

Definition at line 35 of file dice.h.

References dicing_rate, max_level, NULL, ptex, split_threshold, and test_steps.

Member Data Documentation

◆ camera

Camera* SubdParams::camera

Definition at line 32 of file dice.h.

Referenced by QuadDice::eval_projected().

◆ dicing_rate

float SubdParams::dicing_rate

Definition at line 30 of file dice.h.

Referenced by Mesh::get_subd_params(), QuadDice::scale_factor(), and SubdParams().

◆ max_level

int SubdParams::max_level

Definition at line 31 of file dice.h.

Referenced by Mesh::get_subd_params(), and SubdParams().

◆ mesh

◆ objecttoworld

Transform SubdParams::objecttoworld

Definition at line 33 of file dice.h.

Referenced by Mesh::get_subd_params().

◆ ptex

bool SubdParams::ptex

Definition at line 26 of file dice.h.

Referenced by EdgeDice::EdgeDice(), and SubdParams().

◆ split_threshold

int SubdParams::split_threshold

Definition at line 29 of file dice.h.

Referenced by SubdParams().

◆ test_steps

int SubdParams::test_steps

Definition at line 28 of file dice.h.

Referenced by SubdParams().


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