struct MAGES::MeshDeformations::RuntimeCollinearConstraintDataSlice

Overview

Slice of RuntimeCollinearConstraintData. More…

struct RuntimeCollinearConstraintDataSlice
{
    // fields

    NativeSlice Enabled;
    NativeSlice Breakable;
    NativeSlice PhysicsMaterialIndex;
    NativeSlice ParticleA;
    NativeSlice ParticleB;
    NativeSlice ParticleC;
    NativeSlice SimulationMeshDescriptorIndex;

    // properties

    int Count;
};

Detailed Documentation

Slice of RuntimeCollinearConstraintData.

Fields

NativeSlice Enabled

Indicates whether each constraint is enabled.

NativeSlice Breakable

Indicates whether each constraint is breakable.

NativeSlice PhysicsMaterialIndex

The index of the physics material for each constraint.

NativeSlice ParticleA

The index of the first particle involved in each constraint.

NativeSlice ParticleB

The index of the second particle involved in each constraint.

NativeSlice ParticleC

The index of the third particle involved in each constraint.

NativeSlice SimulationMeshDescriptorIndex

The index of the simulation mesh descriptor for each constraint.

Properties

int Count

Gets the number of constraints.