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

67 lines
2.7 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(176, "bKinematicConstraint")]
public class bKinematicConstraint {
[DNAFieldAttribute(0, "Object", "*tar", 1160)]
public Object ptr_tar;
[DNAFieldAttribute(1, "short", "iterations", 2)]
public short iterations;
[DNAFieldAttribute(2, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(3, "short", "rootbone", 2)]
public short rootbone;
[DNAFieldAttribute(4, "short", "max_rootbone", 2)]
public short max_rootbone;
[DNAFieldAttribute(5, "char", "subtarget[64]", 1)]
public char[] subtarget = new System.Char[64];
[DNAFieldAttribute(6, "Object", "*poletar", 1160)]
public Object ptr_poletar;
[DNAFieldAttribute(7, "char", "polesubtarget[64]", 1)]
public char[] polesubtarget = new System.Char[64];
[DNAFieldAttribute(8, "float", "poleangle", 4)]
public float poleangle;
[DNAFieldAttribute(9, "float", "weight", 4)]
public float weight;
[DNAFieldAttribute(10, "float", "orientweight", 4)]
public float orientweight;
[DNAFieldAttribute(11, "float", "grabtarget[3]", 4)]
public float[] grabtarget = new System.Single[3];
[DNAFieldAttribute(12, "short", "type", 2)]
public short type;
[DNAFieldAttribute(13, "short", "mode", 2)]
public short mode;
[DNAFieldAttribute(14, "float", "dist", 4)]
public float dist;
public bKinematicConstraint(Object ptr_tar, short iterations, short flag, short rootbone, short max_rootbone, char[] subtarget, Object ptr_poletar, char[] polesubtarget, float poleangle, float weight, float orientweight, float[] grabtarget, short type, short mode, float dist) {
this.ptr_tar = ptr_tar;
this.iterations = iterations;
this.flag = flag;
this.rootbone = rootbone;
this.max_rootbone = max_rootbone;
this.subtarget = subtarget;
this.ptr_poletar = ptr_poletar;
this.polesubtarget = polesubtarget;
this.poleangle = poleangle;
this.weight = weight;
this.orientweight = orientweight;
this.grabtarget = grabtarget;
this.type = type;
this.mode = mode;
this.dist = dist;
}
}
}