Blender V5.3
blender::UnitConversion Class Referencefinal

#include <BKE_unit.hh>

Public Attributes

double scalar = 1.0
double bias = 0.0

Detailed Description

The linear coefficients that convert between raw values and the unit settings prefer for unit_type, i.e. raw = (value + bias) * scalar.

Definition at line 151 of file BKE_unit.hh.

Member Data Documentation

◆ bias

double blender::UnitConversion::bias = 0.0

Definition at line 154 of file BKE_unit.hh.

Referenced by blender::ANIM_unit_mapping_get_factor().

◆ scalar

double blender::UnitConversion::scalar = 1.0

Definition at line 153 of file BKE_unit.hh.

Referenced by blender::ANIM_unit_mapping_get_factor().


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