Blender  V3.3
Public Attributes | List of all members
TransDataExtension Struct Reference

#include <transform_data.h>

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 36 of file transform_data.h.

Member Data Documentation

◆ axismtx_gimbal

float TransDataExtension::axismtx_gimbal[3][3]

Use for V3D_ORIENT_GIMBAL orientation.

Definition at line 72 of file transform_data.h.

Referenced by add_pose_transdata(), and ObjectToTransData().

◆ dquat

float TransDataExtension::dquat[4]

Initial object delta quat.

Definition at line 46 of file transform_data.h.

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

◆ drot

float TransDataExtension::drot[3]

Initial object drot.

Definition at line 38 of file transform_data.h.

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

◆ dscale

float TransDataExtension::dscale[3]

Initial object delta scale.

Definition at line 48 of file transform_data.h.

Referenced by ObjectToTransData().

◆ iquat

float TransDataExtension::iquat[4]

◆ irot

float TransDataExtension::irot[3]

◆ irotAngle

float TransDataExtension::irotAngle

◆ irotAxis

float TransDataExtension::irotAxis[4]

◆ isize

float TransDataExtension::isize[3]

◆ 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 75 of file transform_data.h.

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

◆ obmat

float TransDataExtension::obmat[4][4]

Object matrix.

Definition at line 70 of file transform_data.h.

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

◆ oloc

float TransDataExtension::oloc[3]

Original object transformation used for rigid bodies.

Definition at line 85 of file transform_data.h.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ oquat

float TransDataExtension::oquat[4]

Definition at line 85 of file transform_data.h.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ orot

float TransDataExtension::orot[3]

Definition at line 85 of file transform_data.h.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ orotAngle

float TransDataExtension::orotAngle

Definition at line 85 of file transform_data.h.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ orotAxis

float TransDataExtension::orotAxis[3]

Definition at line 85 of file transform_data.h.

Referenced by ObjectToTransData(), and special_aftertrans_update__object().

◆ quat

float* TransDataExtension::quat

◆ r_mtx

float TransDataExtension::r_mtx[3][3]

The rotscale matrix of pose bone, to allow using snap-align in translation mode, when TransData.mtx is the loc 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 79 of file transform_data.h.

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

◆ r_smtx

float TransDataExtension::r_smtx[3][3]

Inverse of previous one.

Definition at line 81 of file transform_data.h.

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

◆ rot

float* TransDataExtension::rot

◆ rotAngle

float* TransDataExtension::rotAngle

◆ rotAxis

float* TransDataExtension::rotAxis

◆ rotOrder

int TransDataExtension::rotOrder

◆ size

float* TransDataExtension::size

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