Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
ModelBone Struct Reference

One part of a Model: a mesh (Mesh) placed by a matrix relative to its parent's. More...

#include <battle/battle_mode/model.h>

Data Fields

s32 parent
 
s32 file
 the mesh's file and index
 
s32 keyFile
 its keys' file: positions, rotations and scales by frame
 
s32 visible
 0 while its scale is tiny
 
SVECTOR pos
 
SVECTOR rot
 
SVECTOR scale
 
MATRIX local
 
MATRIX * parentMatrix
 
MATRIX world
 
SVECTOR prevPos
 the pose the motion blends from
 
SVECTOR prevRot
 
SVECTOR prevScale
 

Detailed Description

One part of a Model: a mesh (Mesh) placed by a matrix relative to its parent's.

Definition at line 82 of file model.h.

Field Documentation

◆ parent

s32 ModelBone::parent

Definition at line 83 of file model.h.

Referenced by FIGHTSTG_createModel(), and FIGHTSTG_updateModel().

◆ file

s32 ModelBone::file

the mesh's file and index

Definition at line 84 of file model.h.

Referenced by FIGHTSTG_createModel(), and FIGHTSTG_updateModel().

◆ keyFile

s32 ModelBone::keyFile

its keys' file: positions, rotations and scales by frame

Definition at line 85 of file model.h.

Referenced by FIGHTSTG_blendBone(), FIGHTSTG_createModel(), and FIGHTSTG_poseBone().

◆ visible

s32 ModelBone::visible

0 while its scale is tiny

Definition at line 86 of file model.h.

Referenced by FIGHTSTG_updateModel().

◆ pos

◆ rot

SVECTOR ModelBone::rot

◆ scale

SVECTOR ModelBone::scale

◆ local

MATRIX ModelBone::local

Definition at line 90 of file model.h.

Referenced by FIGHTSTG_poseBones(), and FIGHTSTG_updateModel().

◆ parentMatrix

MATRIX* ModelBone::parentMatrix

Definition at line 91 of file model.h.

Referenced by FIGHTSTG_createModel(), and FIGHTSTG_updateModel().

◆ world

MATRIX ModelBone::world

Definition at line 92 of file model.h.

Referenced by FIGHTSTG_updateModel().

◆ prevPos

SVECTOR ModelBone::prevPos

the pose the motion blends from

Definition at line 93 of file model.h.

Referenced by FIGHTSTG_blendBone(), and FIGHTSTG_saveBlendPose().

◆ prevRot

SVECTOR ModelBone::prevRot

Definition at line 94 of file model.h.

Referenced by FIGHTSTG_blendBone(), and FIGHTSTG_saveBlendPose().

◆ prevScale

SVECTOR ModelBone::prevScale

Definition at line 95 of file model.h.

Referenced by FIGHTSTG_blendBone(), and FIGHTSTG_saveBlendPose().


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