public mass_distributions_block() : base(8) { MassDistribution = new mass_distribution_data(this); }
public rigid_bodies_block() : base(27) { Add(/*node = */ new TI.BlockIndex()); // 1 nodes_block Add(/*region = */ new TI.BlockIndex()); // 1 regions_block Add(/*permutation = */ new TI.BlockIndex()); // 2 Add(new TI.Pad(2)); Add(/*bounding sphere offset = */ new TI.RealPoint3D()); Add(/*bounding sphere radius = */ new TI.Real()); Add(/*flags = */ new TI.Flags(TI.FieldType.WordFlags)); Add(/*motion type = */ new TI.Enum()); Add(/*no phantom power alt = */ new TI.BlockIndex()); // 1 rigid_bodies_block Add(/*size = */ new TI.Enum()); Add(/*inertia tensor scale = */ new TI.Real()); Add(/*linear damping = */ new TI.Real()); Add(/*angular damping = */ new TI.Real()); Add(/*center off mass offset = */ new TI.RealVector3D()); ShapeInfo = new shape_info(this); Add(Mass = new TI.Real()); MassDistribution = new mass_distribution_data(this); // inertia tensor x,y,z Add(/*bounding sphere pad = */ new TI.Real()); Add(new TI.Pad(12)); }