12. AnimNode

(1) AnimGroup

The following data will be added into AnimNode.

AnimGroupHeader u32 anim_group_tag
u32 this_anim_group_index
u32 anim_group_header_size
u32 anim_group_size
u32 anim_name_index
u32 anim_type
u32 frame_rate
u32 anim_num
u32 anim_loop
u32 anim_rot_mtx_order
u32 nintendo_extension_block_size
u32 user_extension_block_size
Anim(0)
...
Anim(anim_num - 1)
NintendoExtensionBlock u32 use_animation_channel
u32 rotate_axis_num
u32 rotate_x_num
u32 rotate_y_num
u32 rotate_z_num
u32 orientation_xy_num
u32 translation_num
u32 unique_scale_num
u32 classical_scale_num
u32 kind_of_orientation_constraint_node
u32 orientation_constraint_node
u32 kind_of_direction_constraint_node
u32 direction_constraint_node
u32 kind_of_upvector_constraint_node
u32 upvector_constraint_node
u32 kind_of_preferred_axis_constraint_node
u32 preferred_axis_constraint_node
u32 kind_of_position_constraint_node
u32 position_constraint_node
u32 kind_of_unique_scale_constraint_node
u32 unique_scale_constraint_node
u32 kind_of_classical_scale_constraint_node
u32 classical_scale_constraint_node
u32 external_orientation_constraint_file_name_index
u32 external_orientation_constraint_obj_name_index
u32 external_direction_constraint_file_name_index
u32 external_direction_consrtaint_obj_name_index
u32 external_upvector_constraint_file_name_index
u32 external_upvector_constraint_obj_name_index
u32 external_perferred_axis_constraint_file_name_index
u32 external_preferred_axis_constraint_obj_name_index
u32 external_position_constraint_file_name_index
u32 external_position_constraint_obj_name_index
u32 external_unique_scale_constraint_file_name_index
u32 external_unique_scale_constraint_obj_name_index
u32 external_classical_scale_constraint_file_name_index
u32 external_classical_scale_constraint_obj_name_index
RotateAxis(0)
...
RotateAxis(rotate_axis_num - 1)
RotateX(0)
...
RotateX(rotate_x_num - 1)
RotateY(0)
...
RotateY(rotate_y_num - 1)
RotateZ(0)
...
RotateZ(rotate_z_num - 1)
OrientationXY(0)
...
OrientationXY(orientation_xy_num - 1)
Translation(0)
...
Translation(tiranslation_num - 1)
UniqueScale(0)
...
UniqueScale(unique_scale_num - 1)
ClassicalScale(0)
...
ClassicalScale(classical_scale_num - 1)
--- other extension data ---
UserExtensionBlock

Go to the description (Japanese)

Go to the description (English)

(2) RotateAxis
u32 interpolation_type
u32 key
float axis_x
float axis_y
float axis_z
float rotation_angle
float differential_axis_x
float differential_axis_y
float differential_axis_z
float differential_rotation_angle

Go to the description (Japanese)

Go to the description (English)

(3) RotateX
u32 interpolation_type
u32 key
float rotate_angle
float differential_rotate_angle

Go to the description (Japanese)

Go to the description (English)

(4) RotateY
u32 interpolation_type
u32 key
float rotate_angle
float differential_rotate_angle

Go to the description (Japanese)

Go to the description (English)

(5) RotateZ
u32 interpolation_type
u32 key
float rotate_angle
float differential_rotate_angle

Go to the description (Japanese)

Go to the description (English)

(6) OrientationXY
u32 interpolation_type
u32 key
float x_axis_x
float x_axis_y
float x_axis_z
float y_axis_x
float y_axis_y
float y_axis_z
float differential_x_axis_x
float differential_x_axis_y
float differential_x_axis_z
float differential_y_axis_x
float differential_y_axis_y
float differential_y_axis_z

Go to the description (Japanese)

Go to the description (English)

(7) Translation
u32 interpolation_type
u32 key
float translate_x
float translate_y
float translate_z
float differential_translate_x
float differential_translate_y
float differential_translate_z

Go to the description (Japanese)

Go to the description (English)

(8) UniqueScale
u32 interpolation_type
u32 key
float scale_x
float scale_y
float scale_z
float differential_scale_x
float differential_scale_y
float differential_scale_z

Go to the description (Japanese)

Go to the description (English)

(9) ClassicalScale
u32 interpolation_type
u32 key
float scale_x
float scale_y
float scale_z
float differential_scale_x
float differential_scale_y
float differential_scale_z

Go to the description (Japanese)

Go to the description (English)