Files
BlenderSharp/BlendFile/DNA/Object.cs
2025-03-12 19:02:40 +01:00

559 lines
25 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(55, "Object", 1160)]
public class Object {
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)]
public DrawDataList drawdata;
[DNAFieldAttribute(8, "SculptSession", 3, "*sculpt", "SculptSession", true, 232)]
public SculptSession sculpt;
[DNAFieldAttribute(2, "short", 4, "type", "short", false, 240)]
public short type;
[DNAFieldAttribute(2, "short", 5, "partype", "short", false, 242)]
public short partype;
[DNAFieldAttribute(4, "int", 6, "par1", "int", false, 244)]
public int par1;
[DNAFieldAttribute(4, "int", 7, "par2", "int", false, 248)]
public int par2;
[DNAFieldAttribute(4, "int", 8, "par3", "int", false, 252)]
public int par3;
[DNAArrayAttribute(64, "char", 9, "parsubstr[64]", "System.Char[]", 64, false, 256)]
public char[] parsubstr = new System.Char[64];
[DNAFieldAttribute(8, "Object", 10, "*parent", "Object", true, 320)]
public Object parent;
[DNAFieldAttribute(8, "Object", 11, "*track", "Object", true, 328)]
public Object track;
[DNAFieldAttribute(8, "Object", 12, "*proxy", "Object", true, 336)]
public Object proxy;
[DNAFieldAttribute(8, "Object", 13, "*proxy_group", "Object", true, 344)]
public Object proxy_group;
[DNAFieldAttribute(8, "Object", 14, "*proxy_from", "Object", true, 352)]
public Object proxy_from;
[DNAFieldAttribute(8, "Ipo", 15, "*ipo", "Ipo", true, 360)]
public Ipo ipo;
[DNAFieldAttribute(8, "bAction", 16, "*action", "bAction", true, 368)]
public bAction action;
[DNAFieldAttribute(8, "bAction", 17, "*poselib", "bAction", true, 376)]
public bAction poselib;
[DNAFieldAttribute(8, "bPose", 18, "*pose", "bPose", true, 384)]
public bPose pose;
[DNAFieldAttribute(8, "void", 19, "*data", "void", true, 392)]
public object data;
[DNAFieldAttribute(8, "bGPdata", 20, "*gpd", "bGPdata", true, 400)]
public bGPdata gpd;
[DNAFieldAttribute(32, "bAnimVizSettings", 21, "avs", "bAnimVizSettings", false, 408)]
public bAnimVizSettings avs;
[DNAFieldAttribute(8, "bMotionPath", 22, "*mpath", "bMotionPath", true, 440)]
public bMotionPath mpath;
[DNAFieldAttribute(8, "void", 23, "*_pad0", "void", true, 448)]
public object _pad0;
[DNAFieldAttribute(16, "ListBase", 24, "constraintChannels", "ListBase", false, 456)]
public ListBase constraintChannels;
[DNAFieldAttribute(16, "ListBase", 25, "effect", "ListBase", false, 472)]
public ListBase effect;
[DNAFieldAttribute(16, "ListBase", 26, "defbase", "ListBase", false, 488)]
public ListBase defbase;
[DNAFieldAttribute(16, "ListBase", 27, "fmaps", "ListBase", false, 504)]
public ListBase fmaps;
[DNAFieldAttribute(16, "ListBase", 28, "modifiers", "ListBase", false, 520)]
public ListBase modifiers;
[DNAFieldAttribute(16, "ListBase", 29, "greasepencil_modifiers", "ListBase", false, 536)]
public ListBase greasepencil_modifiers;
[DNAFieldAttribute(16, "ListBase", 30, "shader_fx", "ListBase", false, 552)]
public ListBase shader_fx;
[DNAFieldAttribute(4, "int", 31, "mode", "int", false, 568)]
public int mode;
[DNAFieldAttribute(4, "int", 32, "restore_mode", "int", false, 572)]
public int restore_mode;
[DNAFieldAttribute(8, "Material", 33, "**mat", "Material", true, 576)]
public Material mat;
[DNAFieldAttribute(8, "char", 34, "*matbits", "char", true, 584)]
public char matbits;
[DNAFieldAttribute(4, "int", 35, "totcol", "int", false, 592)]
public int totcol;
[DNAFieldAttribute(4, "int", 36, "actcol", "int", false, 596)]
public int actcol;
[DNAArrayAttribute(12, "float", 37, "loc[3]", "System.Single[]", 3, false, 600)]
public float[] loc = new System.Single[3];
[DNAArrayAttribute(12, "float", 38, "dloc[3]", "System.Single[]", 3, false, 612)]
public float[] dloc = new System.Single[3];
[DNAArrayAttribute(12, "float", 39, "size[3]", "System.Single[]", 3, false, 624)]
public float[] size = new System.Single[3];
[DNAArrayAttribute(12, "float", 40, "dsize[3]", "System.Single[]", 3, false, 636)]
public float[] dsize = new System.Single[3];
[DNAArrayAttribute(12, "float", 41, "dscale[3]", "System.Single[]", 3, false, 648)]
public float[] dscale = new System.Single[3];
[DNAArrayAttribute(12, "float", 42, "rot[3]", "System.Single[]", 3, false, 660)]
public float[] rot = new System.Single[3];
[DNAArrayAttribute(12, "float", 43, "drot[3]", "System.Single[]", 3, false, 672)]
public float[] drot = new System.Single[3];
[DNAArrayAttribute(16, "float", 44, "quat[4]", "System.Single[]", 4, false, 684)]
public float[] quat = new System.Single[4];
[DNAArrayAttribute(16, "float", 45, "dquat[4]", "System.Single[]", 4, false, 700)]
public float[] dquat = new System.Single[4];
[DNAArrayAttribute(12, "float", 46, "rotAxis[3]", "System.Single[]", 3, false, 716)]
public float[] rotAxis = new System.Single[3];
[DNAArrayAttribute(12, "float", 47, "drotAxis[3]", "System.Single[]", 3, false, 728)]
public float[] drotAxis = new System.Single[3];
[DNAFieldAttribute(4, "float", 48, "rotAngle", "float", false, 740)]
public float rotAngle;
[DNAFieldAttribute(4, "float", 49, "drotAngle", "float", false, 744)]
public float drotAngle;
[DNAArrayAttribute(64, "float", 50, "parentinv[4][4]", "System.Single[,]", 16, false, 748)]
public float[,] parentinv = new System.Single[4,4];
[DNAArrayAttribute(64, "float", 51, "constinv[4][4]", "System.Single[,]", 16, false, 812)]
public float[,] constinv = new System.Single[4,4];
[DNAFieldAttribute(4, "int", 52, "lay", "int", false, 876)]
public int lay;
[DNAFieldAttribute(2, "short", 53, "flag", "short", false, 880)]
public short flag;
[DNAFieldAttribute(2, "short", 54, "colbits", "short", false, 882)]
public short colbits;
[DNAFieldAttribute(2, "short", 55, "transflag", "short", false, 884)]
public short transflag;
[DNAFieldAttribute(2, "short", 56, "protectflag", "short", false, 886)]
public short protectflag;
[DNAFieldAttribute(2, "short", 57, "trackflag", "short", false, 888)]
public short trackflag;
[DNAFieldAttribute(2, "short", 58, "upflag", "short", false, 890)]
public short upflag;
[DNAFieldAttribute(2, "short", 59, "nlaflag", "short", false, 892)]
public short nlaflag;
[DNAFieldAttribute(1, "char", 60, "_pad1", "char", false, 894)]
public char _pad1;
[DNAFieldAttribute(1, "char", 61, "duplicator_visibility_flag", "char", false, 895)]
public char duplicator_visibility_flag;
[DNAFieldAttribute(2, "short", 62, "base_flag", "short", false, 896)]
public short base_flag;
[DNAFieldAttribute(2, "short", 63, "base_local_view_bits", "short", false, 898)]
public short base_local_view_bits;
[DNAFieldAttribute(2, "short", 64, "col_group", "short", false, 900)]
public short col_group;
[DNAFieldAttribute(2, "short", 65, "col_mask", "short", false, 902)]
public short col_mask;
[DNAFieldAttribute(2, "short", 66, "rotmode", "short", false, 904)]
public short rotmode;
[DNAFieldAttribute(1, "char", 67, "boundtype", "char", false, 906)]
public char boundtype;
[DNAFieldAttribute(1, "char", 68, "collision_boundtype", "char", false, 907)]
public char collision_boundtype;
[DNAFieldAttribute(2, "short", 69, "dtx", "short", false, 908)]
public short dtx;
[DNAFieldAttribute(1, "char", 70, "dt", "char", false, 910)]
public char dt;
[DNAFieldAttribute(1, "char", 71, "empty_drawtype", "char", false, 911)]
public char empty_drawtype;
[DNAFieldAttribute(4, "float", 72, "empty_drawsize", "float", false, 912)]
public float empty_drawsize;
[DNAFieldAttribute(4, "float", 73, "dupfacesca", "float", false, 916)]
public float dupfacesca;
[DNAFieldAttribute(2, "short", 74, "index", "short", false, 920)]
public short index;
[DNAFieldAttribute(2, "short", 75, "actdef", "short", false, 922)]
public short actdef;
[DNAArrayAttribute(4, "char", 76, "_pad2[4]", "System.Char[]", 4, false, 924)]
public char[] _pad2 = new System.Char[4];
[DNAArrayAttribute(16, "float", 77, "col[4]", "System.Single[]", 4, false, 928)]
public float[] col = new System.Single[4];
[DNAFieldAttribute(2, "short", 78, "softflag", "short", false, 944)]
public short softflag;
[DNAFieldAttribute(2, "short", 79, "restrictflag", "short", false, 946)]
public short restrictflag;
[DNAFieldAttribute(2, "short", 80, "shapenr", "short", false, 948)]
public short shapenr;
[DNAFieldAttribute(1, "char", 81, "shapeflag", "char", false, 950)]
public char shapeflag;
[DNAArrayAttribute(1, "char", 82, "_pad3[1]", "System.Char[]", 1, false, 951)]
public char[] _pad3 = new System.Char[1];
[DNAFieldAttribute(16, "ListBase", 83, "constraints", "ListBase", false, 952)]
public ListBase constraints;
[DNAFieldAttribute(16, "ListBase", 84, "nlastrips", "ListBase", false, 968)]
public ListBase nlastrips;
[DNAFieldAttribute(16, "ListBase", 85, "hooks", "ListBase", false, 984)]
public ListBase hooks;
[DNAFieldAttribute(16, "ListBase", 86, "particlesystem", "ListBase", false, 1000)]
public ListBase particlesystem;
[DNAFieldAttribute(8, "PartDeflect", 87, "*pd", "PartDeflect", true, 1016)]
public PartDeflect pd;
[DNAFieldAttribute(8, "SoftBody", 88, "*soft", "SoftBody", true, 1024)]
public SoftBody soft;
[DNAFieldAttribute(8, "Collection", 89, "*dup_group", "Collection", true, 1032)]
public Collection dup_group;
[DNAFieldAttribute(8, "FluidsimSettings", 90, "*fluidsimSettings", "FluidsimSettings", true, 1040)]
public FluidsimSettings fluidsimSettings;
[DNAFieldAttribute(16, "ListBase", 91, "pc_ids", "ListBase", false, 1048)]
public ListBase pc_ids;
[DNAFieldAttribute(8, "RigidBodyOb", 92, "*rigidbody_object", "RigidBodyOb", true, 1064)]
public RigidBodyOb rigidbody_object;
[DNAFieldAttribute(8, "RigidBodyCon", 93, "*rigidbody_constraint", "RigidBodyCon", true, 1072)]
public RigidBodyCon rigidbody_constraint;
[DNAArrayAttribute(8, "float", 94, "ima_ofs[2]", "System.Single[]", 2, false, 1080)]
public float[] ima_ofs = new System.Single[2];
[DNAFieldAttribute(8, "ImageUser", 95, "*iuser", "ImageUser", true, 1088)]
public ImageUser iuser;
[DNAFieldAttribute(1, "char", 96, "empty_image_visibility_flag", "char", false, 1096)]
public char empty_image_visibility_flag;
[DNAFieldAttribute(1, "char", 97, "empty_image_depth", "char", false, 1097)]
public char empty_image_depth;
[DNAFieldAttribute(1, "char", 98, "empty_image_flag", "char", false, 1098)]
public char empty_image_flag;
[DNAFieldAttribute(1, "uchar", 99, "modifier_flag", "uchar", false, 1099)]
public byte modifier_flag;
[DNAArrayAttribute(4, "char", 100, "_pad8[4]", "System.Char[]", 4, false, 1100)]
public char[] _pad8 = new System.Char[4];
[DNAFieldAttribute(8, "PreviewImage", 101, "*preview", "PreviewImage", true, 1104)]
public PreviewImage preview;
[DNAFieldAttribute(16, "ObjectLineArt", 102, "lineart", "ObjectLineArt", false, 1112)]
public ObjectLineArt lineart;
[DNAFieldAttribute(8, "LightgroupMembership", 103, "*lightgroup", "LightgroupMembership", true, 1128)]
public LightgroupMembership lightgroup;
[DNAFieldAttribute(8, "LightLinking", 104, "*light_linking", "LightLinking", true, 1136)]
public LightLinking light_linking;
[DNAFieldAttribute(8, "LightProbeObjectCache", 105, "*lightprobe_cache", "LightProbeObjectCache", true, 1144)]
public LightProbeObjectCache lightprobe_cache;
[DNAFieldAttribute(8, "ObjectRuntimeHandle", 106, "*runtime", "ObjectRuntimeHandle", true, 1152)]
public ObjectRuntimeHandle runtime;
public Object() {
this.id = default;
this.adt = default;
this.drawdata = default;
this.sculpt = default;
this.type = default;
this.partype = default;
this.par1 = default;
this.par2 = default;
this.par3 = default;
this.parsubstr = default;
this.parent = default;
this.track = default;
this.proxy = default;
this.proxy_group = default;
this.proxy_from = default;
this.ipo = default;
this.action = default;
this.poselib = default;
this.pose = default;
this.data = default;
this.gpd = default;
this.avs = default;
this.mpath = default;
this._pad0 = default;
this.constraintChannels = default;
this.effect = default;
this.defbase = default;
this.fmaps = default;
this.modifiers = default;
this.greasepencil_modifiers = default;
this.shader_fx = default;
this.mode = default;
this.restore_mode = default;
this.mat = default;
this.matbits = default;
this.totcol = default;
this.actcol = default;
this.loc = default;
this.dloc = default;
this.size = default;
this.dsize = default;
this.dscale = default;
this.rot = default;
this.drot = default;
this.quat = default;
this.dquat = default;
this.rotAxis = default;
this.drotAxis = default;
this.rotAngle = default;
this.drotAngle = default;
this.parentinv = default;
this.constinv = default;
this.lay = default;
this.flag = default;
this.colbits = default;
this.transflag = default;
this.protectflag = default;
this.trackflag = default;
this.upflag = default;
this.nlaflag = default;
this._pad1 = default;
this.duplicator_visibility_flag = default;
this.base_flag = default;
this.base_local_view_bits = default;
this.col_group = default;
this.col_mask = default;
this.rotmode = default;
this.boundtype = default;
this.collision_boundtype = default;
this.dtx = default;
this.dt = default;
this.empty_drawtype = default;
this.empty_drawsize = default;
this.dupfacesca = default;
this.index = default;
this.actdef = default;
this._pad2 = default;
this.col = default;
this.softflag = default;
this.restrictflag = default;
this.shapenr = default;
this.shapeflag = default;
this._pad3 = default;
this.constraints = default;
this.nlastrips = default;
this.hooks = default;
this.particlesystem = default;
this.pd = default;
this.soft = default;
this.dup_group = default;
this.fluidsimSettings = default;
this.pc_ids = default;
this.rigidbody_object = default;
this.rigidbody_constraint = default;
this.ima_ofs = default;
this.iuser = default;
this.empty_image_visibility_flag = default;
this.empty_image_depth = default;
this.empty_image_flag = default;
this.modifier_flag = default;
this._pad8 = default;
this.preview = default;
this.lineart = default;
this.lightgroup = default;
this.light_linking = default;
this.lightprobe_cache = default;
this.runtime = default;
}
public Object(
ID id,
AnimData adt,
DrawDataList drawdata,
SculptSession sculpt,
short type,
short partype,
int par1,
int par2,
int par3,
char[] parsubstr,
Object parent,
Object track,
Object proxy,
Object proxy_group,
Object proxy_from,
Ipo ipo,
bAction action,
bAction poselib,
bPose pose,
object data,
bGPdata gpd,
bAnimVizSettings avs,
bMotionPath mpath,
object _pad0,
ListBase constraintChannels,
ListBase effect,
ListBase defbase,
ListBase fmaps,
ListBase modifiers,
ListBase greasepencil_modifiers,
ListBase shader_fx,
int mode,
int restore_mode,
Material mat,
char matbits,
int totcol,
int actcol,
float[] loc,
float[] dloc,
float[] size,
float[] dsize,
float[] dscale,
float[] rot,
float[] drot,
float[] quat,
float[] dquat,
float[] rotAxis,
float[] drotAxis,
float rotAngle,
float drotAngle,
float[,] parentinv,
float[,] constinv,
int lay,
short flag,
short colbits,
short transflag,
short protectflag,
short trackflag,
short upflag,
short nlaflag,
char _pad1,
char duplicator_visibility_flag,
short base_flag,
short base_local_view_bits,
short col_group,
short col_mask,
short rotmode,
char boundtype,
char collision_boundtype,
short dtx,
char dt,
char empty_drawtype,
float empty_drawsize,
float dupfacesca,
short index,
short actdef,
char[] _pad2,
float[] col,
short softflag,
short restrictflag,
short shapenr,
char shapeflag,
char[] _pad3,
ListBase constraints,
ListBase nlastrips,
ListBase hooks,
ListBase particlesystem,
PartDeflect pd,
SoftBody soft,
Collection dup_group,
FluidsimSettings fluidsimSettings,
ListBase pc_ids,
RigidBodyOb rigidbody_object,
RigidBodyCon rigidbody_constraint,
float[] ima_ofs,
ImageUser iuser,
char empty_image_visibility_flag,
char empty_image_depth,
char empty_image_flag,
byte modifier_flag,
char[] _pad8,
PreviewImage preview,
ObjectLineArt lineart,
LightgroupMembership lightgroup,
LightLinking light_linking,
LightProbeObjectCache lightprobe_cache,
ObjectRuntimeHandle runtime) {
this.id = id;
this.adt = adt;
this.drawdata = drawdata;
this.sculpt = sculpt;
this.type = type;
this.partype = partype;
this.par1 = par1;
this.par2 = par2;
this.par3 = par3;
this.parsubstr = parsubstr;
this.parent = parent;
this.track = track;
this.proxy = proxy;
this.proxy_group = proxy_group;
this.proxy_from = proxy_from;
this.ipo = ipo;
this.action = action;
this.poselib = poselib;
this.pose = pose;
this.data = data;
this.gpd = gpd;
this.avs = avs;
this.mpath = mpath;
this._pad0 = _pad0;
this.constraintChannels = constraintChannels;
this.effect = effect;
this.defbase = defbase;
this.fmaps = fmaps;
this.modifiers = modifiers;
this.greasepencil_modifiers = greasepencil_modifiers;
this.shader_fx = shader_fx;
this.mode = mode;
this.restore_mode = restore_mode;
this.mat = mat;
this.matbits = matbits;
this.totcol = totcol;
this.actcol = actcol;
this.loc = loc;
this.dloc = dloc;
this.size = size;
this.dsize = dsize;
this.dscale = dscale;
this.rot = rot;
this.drot = drot;
this.quat = quat;
this.dquat = dquat;
this.rotAxis = rotAxis;
this.drotAxis = drotAxis;
this.rotAngle = rotAngle;
this.drotAngle = drotAngle;
this.parentinv = parentinv;
this.constinv = constinv;
this.lay = lay;
this.flag = flag;
this.colbits = colbits;
this.transflag = transflag;
this.protectflag = protectflag;
this.trackflag = trackflag;
this.upflag = upflag;
this.nlaflag = nlaflag;
this._pad1 = _pad1;
this.duplicator_visibility_flag = duplicator_visibility_flag;
this.base_flag = base_flag;
this.base_local_view_bits = base_local_view_bits;
this.col_group = col_group;
this.col_mask = col_mask;
this.rotmode = rotmode;
this.boundtype = boundtype;
this.collision_boundtype = collision_boundtype;
this.dtx = dtx;
this.dt = dt;
this.empty_drawtype = empty_drawtype;
this.empty_drawsize = empty_drawsize;
this.dupfacesca = dupfacesca;
this.index = index;
this.actdef = actdef;
this._pad2 = _pad2;
this.col = col;
this.softflag = softflag;
this.restrictflag = restrictflag;
this.shapenr = shapenr;
this.shapeflag = shapeflag;
this._pad3 = _pad3;
this.constraints = constraints;
this.nlastrips = nlastrips;
this.hooks = hooks;
this.particlesystem = particlesystem;
this.pd = pd;
this.soft = soft;
this.dup_group = dup_group;
this.fluidsimSettings = fluidsimSettings;
this.pc_ids = pc_ids;
this.rigidbody_object = rigidbody_object;
this.rigidbody_constraint = rigidbody_constraint;
this.ima_ofs = ima_ofs;
this.iuser = iuser;
this.empty_image_visibility_flag = empty_image_visibility_flag;
this.empty_image_depth = empty_image_depth;
this.empty_image_flag = empty_image_flag;
this.modifier_flag = modifier_flag;
this._pad8 = _pad8;
this.preview = preview;
this.lineart = lineart;
this.lightgroup = lightgroup;
this.light_linking = light_linking;
this.lightprobe_cache = lightprobe_cache;
this.runtime = runtime;
}
}
}