Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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 23 of file dice.h.

Constructor & Destructor Documentation

◆ SubdParams()

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

Definition at line 34 of file dice.h.

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

Member Data Documentation

◆ camera

Camera* SubdParams::camera

Definition at line 31 of file dice.h.

Referenced by QuadDice::eval_projected(), and SubdParams().

◆ dicing_rate

float SubdParams::dicing_rate

Definition at line 29 of file dice.h.

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

◆ max_level

int SubdParams::max_level

Definition at line 30 of file dice.h.

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

◆ mesh

Mesh* SubdParams::mesh

◆ objecttoworld

Transform SubdParams::objecttoworld

Definition at line 32 of file dice.h.

Referenced by Mesh::get_subd_params().

◆ ptex

bool SubdParams::ptex

Definition at line 25 of file dice.h.

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

◆ split_threshold

int SubdParams::split_threshold

Definition at line 28 of file dice.h.

Referenced by SubdParams().

◆ test_steps

int SubdParams::test_steps

Definition at line 27 of file dice.h.

Referenced by SubdParams().


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