Files
BlenderSharp/BlendFile/DNA/Object.cs
2025-02-19 17:07:50 +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")]
public class Object {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 4, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "DrawDataList", "drawdata", "DrawDataList", 16, false)]
public DrawDataList drawdata;
[DNAFieldAttribute(3, "SculptSession", "*sculpt", "SculptSession", 4, true)]
public SculptSession ptr_sculpt;
[DNAFieldAttribute(4, "short", "type", "short", 2, false)]
public short type;
[DNAFieldAttribute(5, "short", "partype", "short", 2, false)]
public short partype;
[DNAFieldAttribute(6, "int", "par1", "int", 4, false)]
public int par1;
[DNAFieldAttribute(7, "int", "par2", "int", 4, false)]
public int par2;
[DNAFieldAttribute(8, "int", "par3", "int", 4, false)]
public int par3;
[DNAFieldAttribute(9, "char", "parsubstr[64]", "System.Char[]", 64, false)]
public char[] parsubstr = new System.Char[64];
[DNAFieldAttribute(10, "Object", "*parent", "Object", 4, true)]
public Object ptr_parent;
[DNAFieldAttribute(11, "Object", "*track", "Object", 4, true)]
public Object ptr_track;
[DNAFieldAttribute(12, "Object", "*proxy", "Object", 4, true)]
public Object ptr_proxy;
[DNAFieldAttribute(13, "Object", "*proxy_group", "Object", 4, true)]
public Object ptr_proxy_group;
[DNAFieldAttribute(14, "Object", "*proxy_from", "Object", 4, true)]
public Object ptr_proxy_from;
[DNAFieldAttribute(15, "Ipo", "*ipo", "Ipo", 4, true)]
public Ipo ptr_ipo;
[DNAFieldAttribute(16, "bAction", "*action", "bAction", 4, true)]
public bAction ptr_action;
[DNAFieldAttribute(17, "bAction", "*poselib", "bAction", 4, true)]
public bAction ptr_poselib;
[DNAFieldAttribute(18, "bPose", "*pose", "bPose", 4, true)]
public bPose ptr_pose;
[DNAFieldAttribute(19, "void", "*data", "void", 4, true)]
public object ptr_data;
[DNAFieldAttribute(20, "bGPdata", "*gpd", "bGPdata", 4, true)]
public bGPdata ptr_gpd;
[DNAFieldAttribute(21, "bAnimVizSettings", "avs", "bAnimVizSettings", 32, false)]
public bAnimVizSettings avs;
[DNAFieldAttribute(22, "bMotionPath", "*mpath", "bMotionPath", 4, true)]
public bMotionPath ptr_mpath;
[DNAFieldAttribute(23, "void", "*_pad0", "void", 4, true)]
public object ptr__pad0;
[DNAFieldAttribute(24, "ListBase", "constraintChannels", "ListBase", 16, false)]
public ListBase constraintChannels;
[DNAFieldAttribute(25, "ListBase", "effect", "ListBase", 16, false)]
public ListBase effect;
[DNAFieldAttribute(26, "ListBase", "defbase", "ListBase", 16, false)]
public ListBase defbase;
[DNAFieldAttribute(27, "ListBase", "fmaps", "ListBase", 16, false)]
public ListBase fmaps;
[DNAFieldAttribute(28, "ListBase", "modifiers", "ListBase", 16, false)]
public ListBase modifiers;
[DNAFieldAttribute(29, "ListBase", "greasepencil_modifiers", "ListBase", 16, false)]
public ListBase greasepencil_modifiers;
[DNAFieldAttribute(30, "ListBase", "shader_fx", "ListBase", 16, false)]
public ListBase shader_fx;
[DNAFieldAttribute(31, "int", "mode", "int", 4, false)]
public int mode;
[DNAFieldAttribute(32, "int", "restore_mode", "int", 4, false)]
public int restore_mode;
[DNAFieldAttribute(33, "Material", "**mat", "Material", 4, true)]
public Material ptr_ptr_mat;
[DNAFieldAttribute(34, "char", "*matbits", "char", 4, true)]
public char ptr_matbits;
[DNAFieldAttribute(35, "int", "totcol", "int", 4, false)]
public int totcol;
[DNAFieldAttribute(36, "int", "actcol", "int", 4, false)]
public int actcol;
[DNAFieldAttribute(37, "float", "loc[3]", "System.Single[]", 12, false)]
public float[] loc = new System.Single[3];
[DNAFieldAttribute(38, "float", "dloc[3]", "System.Single[]", 12, false)]
public float[] dloc = new System.Single[3];
[DNAFieldAttribute(39, "float", "size[3]", "System.Single[]", 12, false)]
public float[] size = new System.Single[3];
[DNAFieldAttribute(40, "float", "dsize[3]", "System.Single[]", 12, false)]
public float[] dsize = new System.Single[3];
[DNAFieldAttribute(41, "float", "dscale[3]", "System.Single[]", 12, false)]
public float[] dscale = new System.Single[3];
[DNAFieldAttribute(42, "float", "rot[3]", "System.Single[]", 12, false)]
public float[] rot = new System.Single[3];
[DNAFieldAttribute(43, "float", "drot[3]", "System.Single[]", 12, false)]
public float[] drot = new System.Single[3];
[DNAFieldAttribute(44, "float", "quat[4]", "System.Single[]", 16, false)]
public float[] quat = new System.Single[4];
[DNAFieldAttribute(45, "float", "dquat[4]", "System.Single[]", 16, false)]
public float[] dquat = new System.Single[4];
[DNAFieldAttribute(46, "float", "rotAxis[3]", "System.Single[]", 12, false)]
public float[] rotAxis = new System.Single[3];
[DNAFieldAttribute(47, "float", "drotAxis[3]", "System.Single[]", 12, false)]
public float[] drotAxis = new System.Single[3];
[DNAFieldAttribute(48, "float", "rotAngle", "float", 4, false)]
public float rotAngle;
[DNAFieldAttribute(49, "float", "drotAngle", "float", 4, false)]
public float drotAngle;
[DNAFieldAttribute(50, "float", "parentinv[4][4]", "System.Single[,]", 64, false)]
public float[,] parentinv = new System.Single[4,4];
[DNAFieldAttribute(51, "float", "constinv[4][4]", "System.Single[,]", 64, false)]
public float[,] constinv = new System.Single[4,4];
[DNAFieldAttribute(52, "int", "lay", "int", 4, false)]
public int lay;
[DNAFieldAttribute(53, "short", "flag", "short", 2, false)]
public short flag;
[DNAFieldAttribute(54, "short", "colbits", "short", 2, false)]
public short colbits;
[DNAFieldAttribute(55, "short", "transflag", "short", 2, false)]
public short transflag;
[DNAFieldAttribute(56, "short", "protectflag", "short", 2, false)]
public short protectflag;
[DNAFieldAttribute(57, "short", "trackflag", "short", 2, false)]
public short trackflag;
[DNAFieldAttribute(58, "short", "upflag", "short", 2, false)]
public short upflag;
[DNAFieldAttribute(59, "short", "nlaflag", "short", 2, false)]
public short nlaflag;
[DNAFieldAttribute(60, "char", "_pad1", "char", 1, false)]
public char _pad1;
[DNAFieldAttribute(61, "char", "duplicator_visibility_flag", "char", 1, false)]
public char duplicator_visibility_flag;
[DNAFieldAttribute(62, "short", "base_flag", "short", 2, false)]
public short base_flag;
[DNAFieldAttribute(63, "short", "base_local_view_bits", "short", 2, false)]
public short base_local_view_bits;
[DNAFieldAttribute(64, "short", "col_group", "short", 2, false)]
public short col_group;
[DNAFieldAttribute(65, "short", "col_mask", "short", 2, false)]
public short col_mask;
[DNAFieldAttribute(66, "short", "rotmode", "short", 2, false)]
public short rotmode;
[DNAFieldAttribute(67, "char", "boundtype", "char", 1, false)]
public char boundtype;
[DNAFieldAttribute(68, "char", "collision_boundtype", "char", 1, false)]
public char collision_boundtype;
[DNAFieldAttribute(69, "short", "dtx", "short", 2, false)]
public short dtx;
[DNAFieldAttribute(70, "char", "dt", "char", 1, false)]
public char dt;
[DNAFieldAttribute(71, "char", "empty_drawtype", "char", 1, false)]
public char empty_drawtype;
[DNAFieldAttribute(72, "float", "empty_drawsize", "float", 4, false)]
public float empty_drawsize;
[DNAFieldAttribute(73, "float", "dupfacesca", "float", 4, false)]
public float dupfacesca;
[DNAFieldAttribute(74, "short", "index", "short", 2, false)]
public short index;
[DNAFieldAttribute(75, "short", "actdef", "short", 2, false)]
public short actdef;
[DNAFieldAttribute(76, "char", "_pad2[4]", "System.Char[]", 4, false)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(77, "float", "col[4]", "System.Single[]", 16, false)]
public float[] col = new System.Single[4];
[DNAFieldAttribute(78, "short", "softflag", "short", 2, false)]
public short softflag;
[DNAFieldAttribute(79, "short", "restrictflag", "short", 2, false)]
public short restrictflag;
[DNAFieldAttribute(80, "short", "shapenr", "short", 2, false)]
public short shapenr;
[DNAFieldAttribute(81, "char", "shapeflag", "char", 1, false)]
public char shapeflag;
[DNAFieldAttribute(82, "char", "_pad3[1]", "System.Char[]", 1, false)]
public char[] _pad3 = new System.Char[1];
[DNAFieldAttribute(83, "ListBase", "constraints", "ListBase", 16, false)]
public ListBase constraints;
[DNAFieldAttribute(84, "ListBase", "nlastrips", "ListBase", 16, false)]
public ListBase nlastrips;
[DNAFieldAttribute(85, "ListBase", "hooks", "ListBase", 16, false)]
public ListBase hooks;
[DNAFieldAttribute(86, "ListBase", "particlesystem", "ListBase", 16, false)]
public ListBase particlesystem;
[DNAFieldAttribute(87, "PartDeflect", "*pd", "PartDeflect", 4, true)]
public PartDeflect ptr_pd;
[DNAFieldAttribute(88, "SoftBody", "*soft", "SoftBody", 4, true)]
public SoftBody ptr_soft;
[DNAFieldAttribute(89, "Collection", "*dup_group", "Collection", 4, true)]
public Collection ptr_dup_group;
[DNAFieldAttribute(90, "FluidsimSettings", "*fluidsimSettings", "FluidsimSettings", 4, true)]
public FluidsimSettings ptr_fluidsimSettings;
[DNAFieldAttribute(91, "ListBase", "pc_ids", "ListBase", 16, false)]
public ListBase pc_ids;
[DNAFieldAttribute(92, "RigidBodyOb", "*rigidbody_object", "RigidBodyOb", 4, true)]
public RigidBodyOb ptr_rigidbody_object;
[DNAFieldAttribute(93, "RigidBodyCon", "*rigidbody_constraint", "RigidBodyCon", 4, true)]
public RigidBodyCon ptr_rigidbody_constraint;
[DNAFieldAttribute(94, "float", "ima_ofs[2]", "System.Single[]", 8, false)]
public float[] ima_ofs = new System.Single[2];
[DNAFieldAttribute(95, "ImageUser", "*iuser", "ImageUser", 4, true)]
public ImageUser ptr_iuser;
[DNAFieldAttribute(96, "char", "empty_image_visibility_flag", "char", 1, false)]
public char empty_image_visibility_flag;
[DNAFieldAttribute(97, "char", "empty_image_depth", "char", 1, false)]
public char empty_image_depth;
[DNAFieldAttribute(98, "char", "empty_image_flag", "char", 1, false)]
public char empty_image_flag;
[DNAFieldAttribute(99, "uchar", "modifier_flag", "uchar", 1, false)]
public byte modifier_flag;
[DNAFieldAttribute(100, "char", "_pad8[4]", "System.Char[]", 4, false)]
public char[] _pad8 = new System.Char[4];
[DNAFieldAttribute(101, "PreviewImage", "*preview", "PreviewImage", 4, true)]
public PreviewImage ptr_preview;
[DNAFieldAttribute(102, "ObjectLineArt", "lineart", "ObjectLineArt", 16, false)]
public ObjectLineArt lineart;
[DNAFieldAttribute(103, "LightgroupMembership", "*lightgroup", "LightgroupMembership", 4, true)]
public LightgroupMembership ptr_lightgroup;
[DNAFieldAttribute(104, "LightLinking", "*light_linking", "LightLinking", 4, true)]
public LightLinking ptr_light_linking;
[DNAFieldAttribute(105, "LightProbeObjectCache", "*lightprobe_cache", "LightProbeObjectCache", 4, true)]
public LightProbeObjectCache ptr_lightprobe_cache;
[DNAFieldAttribute(106, "ObjectRuntimeHandle", "*runtime", "ObjectRuntimeHandle", 4, true)]
public ObjectRuntimeHandle ptr_runtime;
public Object() {
this.id = default;
this.ptr_adt = default;
this.drawdata = default;
this.ptr_sculpt = default;
this.type = default;
this.partype = default;
this.par1 = default;
this.par2 = default;
this.par3 = default;
this.parsubstr = default;
this.ptr_parent = default;
this.ptr_track = default;
this.ptr_proxy = default;
this.ptr_proxy_group = default;
this.ptr_proxy_from = default;
this.ptr_ipo = default;
this.ptr_action = default;
this.ptr_poselib = default;
this.ptr_pose = default;
this.ptr_data = default;
this.ptr_gpd = default;
this.avs = default;
this.ptr_mpath = default;
this.ptr__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.ptr_ptr_mat = default;
this.ptr_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.ptr_pd = default;
this.ptr_soft = default;
this.ptr_dup_group = default;
this.ptr_fluidsimSettings = default;
this.pc_ids = default;
this.ptr_rigidbody_object = default;
this.ptr_rigidbody_constraint = default;
this.ima_ofs = default;
this.ptr_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.ptr_preview = default;
this.lineart = default;
this.ptr_lightgroup = default;
this.ptr_light_linking = default;
this.ptr_lightprobe_cache = default;
this.ptr_runtime = default;
}
public Object(
ID id,
AnimData ptr_adt,
DrawDataList drawdata,
SculptSession ptr_sculpt,
short type,
short partype,
int par1,
int par2,
int par3,
char[] parsubstr,
Object ptr_parent,
Object ptr_track,
Object ptr_proxy,
Object ptr_proxy_group,
Object ptr_proxy_from,
Ipo ptr_ipo,
bAction ptr_action,
bAction ptr_poselib,
bPose ptr_pose,
object ptr_data,
bGPdata ptr_gpd,
bAnimVizSettings avs,
bMotionPath ptr_mpath,
object ptr__pad0,
ListBase constraintChannels,
ListBase effect,
ListBase defbase,
ListBase fmaps,
ListBase modifiers,
ListBase greasepencil_modifiers,
ListBase shader_fx,
int mode,
int restore_mode,
Material ptr_ptr_mat,
char ptr_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 ptr_pd,
SoftBody ptr_soft,
Collection ptr_dup_group,
FluidsimSettings ptr_fluidsimSettings,
ListBase pc_ids,
RigidBodyOb ptr_rigidbody_object,
RigidBodyCon ptr_rigidbody_constraint,
float[] ima_ofs,
ImageUser ptr_iuser,
char empty_image_visibility_flag,
char empty_image_depth,
char empty_image_flag,
byte modifier_flag,
char[] _pad8,
PreviewImage ptr_preview,
ObjectLineArt lineart,
LightgroupMembership ptr_lightgroup,
LightLinking ptr_light_linking,
LightProbeObjectCache ptr_lightprobe_cache,
ObjectRuntimeHandle ptr_runtime) {
this.id = id;
this.ptr_adt = ptr_adt;
this.drawdata = drawdata;
this.ptr_sculpt = ptr_sculpt;
this.type = type;
this.partype = partype;
this.par1 = par1;
this.par2 = par2;
this.par3 = par3;
this.parsubstr = parsubstr;
this.ptr_parent = ptr_parent;
this.ptr_track = ptr_track;
this.ptr_proxy = ptr_proxy;
this.ptr_proxy_group = ptr_proxy_group;
this.ptr_proxy_from = ptr_proxy_from;
this.ptr_ipo = ptr_ipo;
this.ptr_action = ptr_action;
this.ptr_poselib = ptr_poselib;
this.ptr_pose = ptr_pose;
this.ptr_data = ptr_data;
this.ptr_gpd = ptr_gpd;
this.avs = avs;
this.ptr_mpath = ptr_mpath;
this.ptr__pad0 = ptr__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.ptr_ptr_mat = ptr_ptr_mat;
this.ptr_matbits = ptr_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.ptr_pd = ptr_pd;
this.ptr_soft = ptr_soft;
this.ptr_dup_group = ptr_dup_group;
this.ptr_fluidsimSettings = ptr_fluidsimSettings;
this.pc_ids = pc_ids;
this.ptr_rigidbody_object = ptr_rigidbody_object;
this.ptr_rigidbody_constraint = ptr_rigidbody_constraint;
this.ima_ofs = ima_ofs;
this.ptr_iuser = ptr_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.ptr_preview = ptr_preview;
this.lineart = lineart;
this.ptr_lightgroup = ptr_lightgroup;
this.ptr_light_linking = ptr_light_linking;
this.ptr_lightprobe_cache = ptr_lightprobe_cache;
this.ptr_runtime = ptr_runtime;
}
}
}