Files
BlenderSharp/BlendFile/DNA/Object.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

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