Bone

From NFBSP

Jump to: navigation, search

C# Code

struct Bone { // Length: 112
  byte[32] Name;
  int Parent;
  int Flags;
  int Controller0;
  int Controller1;
  int Controller2;
  int Controller3;
  int Controller4;
  int Controller5;
  float PosX; // $mirrorbone: value * -1
  float PosY; // $mirrorbone: value * -1
  float PosZ; // $mirrorbone: value * -1
  float RotX;
  float RotY;
  float RotZ;
  float ScalePosX;
  float ScalePosY;
  float ScalePosZ;
  float ScaleRotX;
  float ScaleRotY;
  float ScaleRotZ;
}

Details

  • Name: The name of this bone for symbolic links.
  • Parent: The parent bone. -1 means there is no parent.
  • Flags: Flags for this bone.
  • Controller#: Index to a controller. -1 means this controller space is not occupied.
  • PosX, PosY, PosZ: The position of the bone.
  • RotX, RotY, RotZ: The rotation of the positional axises.
  • ScalePosX, ScalePosY, ScalePosZ: Scales the positional values.
  • ScaleRotX, ScaleRotY, ScaleRotZ: Scales the rotational values.

See Also

Personal tools