struct MAGES::MeshDeformations::SimulationMeshDescriptor

Overview

A descriptor for runtime data of simulation meshes. More…

struct SimulationMeshDescriptor
{
    // fields

    int ParticleStartIndex;
    int ParticleCount;
    int TotalParticleSpaceCount;
    int DistanceConstraintStartIndex;
    int DistanceConstraintCount;
    int TotalDistanceConstraintSpaceCount;
    int VolumeConstraintStartIndex;
    int VolumeConstraintCount;
    int TotalVolumeConstraintSpaceCount;
    int ShapeMatchingConstraintStartIndex;
    int ShapeMatchingConstraintCount;
    int TotalShapeMatchingConstraintSpaceCount;
    int CollinearConstraintStartIndex;
    int CollinearConstraintCount;
    int TotalCollinearConstraintSpaceCount;
    int PhysicsMaterialStartIndex;
    int PhysicsMaterialCount;
    int TotalPhysicsMaterialSpaceCount;

    // methods

    override string ToString();
};

Detailed Documentation

A descriptor for runtime data of simulation meshes.

Fields

int ParticleStartIndex

The starting index of particles for this simulation mesh.

int ParticleCount

The count of particles in the simulation mesh.

int TotalParticleSpaceCount

The total available space for new particle data before resizing is required.

int DistanceConstraintStartIndex

The starting index of distance constraints for this simulation mesh.

int DistanceConstraintCount

The count of distance constraints in the simulation mesh.

int TotalDistanceConstraintSpaceCount

The total available space for new distance constraint data before resizing is required.

int VolumeConstraintStartIndex

The starting index of volume constraints for this simulation mesh.

int VolumeConstraintCount

The count of volume constraints in the simulation mesh.

int TotalVolumeConstraintSpaceCount

The total available space for new volume constraint data before resizing is required.

int ShapeMatchingConstraintStartIndex

The starting index of shape matching constraints for this simulation mesh.

int ShapeMatchingConstraintCount

The count of shape matching constraints in the simulation mesh.

int TotalShapeMatchingConstraintSpaceCount

The total available space for new shape matching constraint data before resizing is required.

int CollinearConstraintStartIndex

The starting index of collinear constraints for this simulation mesh.

int CollinearConstraintCount

The count of collinear constraints in the simulation mesh.

int TotalCollinearConstraintSpaceCount

The total available space for new collinear constraints data before resizing is required.

int PhysicsMaterialStartIndex

The starting index of physics materials for this simulation mesh.

int PhysicsMaterialCount

The count of physics materials in the simulation mesh.

int TotalPhysicsMaterialSpaceCount

The total available space for new physics material data before resizing is required.