Files
BlenderSharp/BlendFile/DNA/CacheFile.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

126 lines
5.0 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(142, "CacheFile")]
public class CacheFile {
[DNAFieldAttribute(0, "ID", "id", 208)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", 248)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "ListBase", "object_paths", 16)]
public ListBase object_paths;
[DNAFieldAttribute(3, "ListBase", "layers", 16)]
public ListBase layers;
[DNAFieldAttribute(4, "char", "filepath[1024]", 1)]
public char[] filepath = new System.Char[1024];
[DNAFieldAttribute(5, "char", "is_sequence", 1)]
public char is_sequence;
[DNAFieldAttribute(6, "char", "forward_axis", 1)]
public char forward_axis;
[DNAFieldAttribute(7, "char", "up_axis", 1)]
public char up_axis;
[DNAFieldAttribute(8, "char", "override_frame", 1)]
public char override_frame;
[DNAFieldAttribute(9, "float", "scale", 4)]
public float scale;
[DNAFieldAttribute(10, "float", "frame", 4)]
public float frame;
[DNAFieldAttribute(11, "float", "frame_offset", 4)]
public float frame_offset;
[DNAFieldAttribute(12, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(13, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(14, "char", "type", 1)]
public char type;
[DNAFieldAttribute(15, "char", "use_render_procedural", 1)]
public char use_render_procedural;
[DNAFieldAttribute(16, "char", "_pad1[3]", 1)]
public char[] _pad1 = new System.Char[3];
[DNAFieldAttribute(17, "char", "use_prefetch", 1)]
public char use_prefetch;
[DNAFieldAttribute(18, "int", "prefetch_cache_size", 4)]
public int prefetch_cache_size;
[DNAFieldAttribute(19, "int", "active_layer", 4)]
public int active_layer;
[DNAFieldAttribute(20, "char", "_pad2[3]", 1)]
public char[] _pad2 = new System.Char[3];
[DNAFieldAttribute(21, "char", "velocity_unit", 1)]
public char velocity_unit;
[DNAFieldAttribute(22, "char", "velocity_name[64]", 1)]
public char[] velocity_name = new System.Char[64];
[DNAFieldAttribute(23, "CacheArchiveHandle", "*handle", 0)]
public CacheArchiveHandle ptr_handle;
[DNAFieldAttribute(24, "char", "handle_filepath[1024]", 1)]
public char[] handle_filepath = new System.Char[1024];
[DNAFieldAttribute(25, "GSet", "*handle_readers", 0)]
public GSet ptr_handle_readers;
public CacheFile(
ID id,
AnimData ptr_adt,
ListBase object_paths,
ListBase layers,
char[] filepath,
char is_sequence,
char forward_axis,
char up_axis,
char override_frame,
float scale,
float frame,
float frame_offset,
char[] _pad,
short flag,
char type,
char use_render_procedural,
char[] _pad1,
char use_prefetch,
int prefetch_cache_size,
int active_layer,
char[] _pad2,
char velocity_unit,
char[] velocity_name,
CacheArchiveHandle ptr_handle,
char[] handle_filepath,
GSet ptr_handle_readers) {
this.id = id;
this.ptr_adt = ptr_adt;
this.object_paths = object_paths;
this.layers = layers;
this.filepath = filepath;
this.is_sequence = is_sequence;
this.forward_axis = forward_axis;
this.up_axis = up_axis;
this.override_frame = override_frame;
this.scale = scale;
this.frame = frame;
this.frame_offset = frame_offset;
this._pad = _pad;
this.flag = flag;
this.type = type;
this.use_render_procedural = use_render_procedural;
this._pad1 = _pad1;
this.use_prefetch = use_prefetch;
this.prefetch_cache_size = prefetch_cache_size;
this.active_layer = active_layer;
this._pad2 = _pad2;
this.velocity_unit = velocity_unit;
this.velocity_name = velocity_name;
this.ptr_handle = ptr_handle;
this.handle_filepath = handle_filepath;
this.ptr_handle_readers = ptr_handle_readers;
}
}
}