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