Files
BlenderSharp/BlendFile/DNA/bKinematicConstraint.cs
2025-02-19 17:07:50 +01:00

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