84 lines
3.6 KiB
C#
84 lines
3.6 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", 184)]
|
|
public class bKinematicConstraint {
|
|
[DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)]
|
|
public Object tar;
|
|
[DNAFieldAttribute(2, "short", 1, "iterations", "short", false, 8)]
|
|
public short iterations;
|
|
[DNAFieldAttribute(2, "short", 2, "flag", "short", false, 10)]
|
|
public short flag;
|
|
[DNAFieldAttribute(2, "short", 3, "rootbone", "short", false, 12)]
|
|
public short rootbone;
|
|
[DNAFieldAttribute(2, "short", 4, "max_rootbone", "short", false, 14)]
|
|
public short max_rootbone;
|
|
[DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 16)]
|
|
public char[] subtarget = new System.Char[64];
|
|
[DNAFieldAttribute(8, "Object", 6, "*poletar", "Object", true, 80)]
|
|
public Object poletar;
|
|
[DNAFieldAttribute(64, "char", 7, "polesubtarget[64]", "System.Char[]", false, 88)]
|
|
public char[] polesubtarget = new System.Char[64];
|
|
[DNAFieldAttribute(4, "float", 8, "poleangle", "float", false, 152)]
|
|
public float poleangle;
|
|
[DNAFieldAttribute(4, "float", 9, "weight", "float", false, 156)]
|
|
public float weight;
|
|
[DNAFieldAttribute(4, "float", 10, "orientweight", "float", false, 160)]
|
|
public float orientweight;
|
|
[DNAFieldAttribute(12, "float", 11, "grabtarget[3]", "System.Single[]", false, 164)]
|
|
public float[] grabtarget = new System.Single[3];
|
|
[DNAFieldAttribute(2, "short", 12, "type", "short", false, 176)]
|
|
public short type;
|
|
[DNAFieldAttribute(2, "short", 13, "mode", "short", false, 178)]
|
|
public short mode;
|
|
[DNAFieldAttribute(4, "float", 14, "dist", "float", false, 180)]
|
|
public float dist;
|
|
public bKinematicConstraint() {
|
|
this.tar = default;
|
|
this.iterations = default;
|
|
this.flag = default;
|
|
this.rootbone = default;
|
|
this.max_rootbone = default;
|
|
this.subtarget = default;
|
|
this.poletar = default;
|
|
this.polesubtarget = default;
|
|
this.poleangle = default;
|
|
this.weight = default;
|
|
this.orientweight = default;
|
|
this.grabtarget = default;
|
|
this.type = default;
|
|
this.mode = default;
|
|
this.dist = default;
|
|
}
|
|
public bKinematicConstraint(Object tar, short iterations, short flag, short rootbone, short max_rootbone, char[] subtarget, Object poletar, char[] polesubtarget, float poleangle, float weight, float orientweight, float[] grabtarget, short type, short mode, float dist) {
|
|
this.tar = tar;
|
|
this.iterations = iterations;
|
|
this.flag = flag;
|
|
this.rootbone = rootbone;
|
|
this.max_rootbone = max_rootbone;
|
|
this.subtarget = subtarget;
|
|
this.poletar = 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;
|
|
}
|
|
}
|
|
}
|