Blender V4.3
TransDataExtension Struct Reference

#include <transform_data.hh>

Public Attributes

float drot [3]
 
float dquat [4]
 
float dscale [3]
 
floatrot
 
float irot [3]
 
floatquat
 
float iquat [4]
 
floatrotAngle
 
float irotAngle
 
floatrotAxis
 
float irotAxis [4]
 
floatsize
 
float isize [3]
 
float obmat [4][4]
 
float axismtx_gimbal [3][3]
 
float l_smtx [3][3]
 
float r_mtx [3][3]
 
float r_smtx [3][3]
 
int rotOrder
 
float oloc [3]
 
float orot [3]
 
float oquat [4]
 
float orotAxis [3]
 
float orotAngle
 

Detailed Description

Definition at line 41 of file transform_data.hh.

Member Data Documentation

◆ axismtx_gimbal

float TransDataExtension::axismtx_gimbal[3][3]

Use for V3D_ORIENT_GIMBAL orientation.

Definition at line 77 of file transform_data.hh.

Referenced by add_pose_transdata(), and ObjectToTransData().

◆ dquat

float TransDataExtension::dquat[4]

Initial object delta quat.

Definition at line 51 of file transform_data.hh.

Referenced by ElementRotation_ex(), ObjectToTransData(), and transform_data_ext_rotate().

◆ drot

float TransDataExtension::drot[3]

Initial object drot.

Definition at line 43 of file transform_data.hh.

Referenced by ElementRotation_ex(), ObjectToTransData(), and transform_data_ext_rotate().

◆ dscale

float TransDataExtension::dscale[3]

Initial object delta scale.

Definition at line 53 of file transform_data.hh.

Referenced by ObjectToTransData().

◆ iquat

◆ irot

◆ irotAngle

float TransDataExtension::irotAngle

◆ irotAxis

float TransDataExtension::irotAxis[4]

◆ isize

◆ l_smtx

float TransDataExtension::l_smtx[3][3]

Use instead of TransData.smtx, It is the same but without the Bone.bone_mat, see TD_PBONE_LOCAL_MTX_C.

Definition at line 80 of file transform_data.hh.

Referenced by add_pose_transdata(), createTransSculpt(), and ElementRotation_ex().

◆ obmat

float TransDataExtension::obmat[4][4]

Object matrix.

Definition at line 75 of file transform_data.hh.

Referenced by createTransSculpt(), ObjectToTransData(), and snap_source_closest_fn().

◆ oloc

float TransDataExtension::oloc[3]

Original object transformation used for rigid bodies.

Definition at line 92 of file transform_data.hh.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ oquat

float TransDataExtension::oquat[4]

Definition at line 92 of file transform_data.hh.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ orot

float TransDataExtension::orot[3]

Definition at line 92 of file transform_data.hh.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ orotAngle

float TransDataExtension::orotAngle

Definition at line 92 of file transform_data.hh.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ orotAxis

float TransDataExtension::orotAxis[3]

Definition at line 92 of file transform_data.hh.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ quat

◆ r_mtx

float TransDataExtension::r_mtx[3][3]

The rotation & scale matrix of pose bone, to allow using snap-align in translation mode, when TransData.mtx is the location pose bone matrix (and hence can't be used to apply rotation in some cases, namely when a bone is in "No-Local" or "Hinge" mode).

Definition at line 86 of file transform_data.hh.

Referenced by add_pose_transdata(), createTransSculpt(), and ElementRotation_ex().

◆ r_smtx

float TransDataExtension::r_smtx[3][3]

Inverse of previous one.

Definition at line 88 of file transform_data.hh.

Referenced by add_pose_transdata(), createTransSculpt(), and ElementRotation_ex().

◆ rot

◆ rotAngle

◆ rotAxis

◆ rotOrder

◆ size


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