Files
BlenderSharp/BlendFile/DNAFieldAttribute.cs
2025-02-18 18:16:57 +01:00

71 lines
2.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 {
[AttributeUsage(AttributeTargets.Field)]
public class DNAFieldAttribute : System.Attribute {
private int _size;
public virtual int Size {
get {
return this._size;
}
set {
this._size = value;
}
}
private string _originalType;
public virtual string OriginalType {
get {
return this._originalType;
}
set {
this._originalType = value;
}
}
private string _originalName;
public virtual string OriginalName {
get {
return this._originalName;
}
set {
this._originalName = value;
}
}
private int _originalIndex;
public virtual int OriginalIndex {
get {
return this._originalIndex;
}
set {
this._originalIndex = value;
}
}
public virtual string UnderlyingType {
get
{
return _originalType;
}
set {
this._originalType = value;
}
}
public DNAFieldAttribute(int originalIndex, string originalType, string originalName, string underlyingType, int size) {
this.OriginalIndex = originalIndex;
this.OriginalType = originalType;
this.OriginalName = originalName;
this.OriginalType = underlyingType;
this.Size = size;
}
}
}