class MClothConstraintBridge

Jump to documentation

Interface for cloth solver constraint command bridge.

public members:

MClothConstraintBridge ()
virtual ~MClothConstraintBridge ()
virtual MStatus execute ( MClothParticle * particle, bool soft, double shear, double damp )

Documentation

Interface for cloth solver constraint command bridge.
Description

Interface that must be implemented by solver writers to override custom behavior for various constraints.

Functions

MClothConstraintBridge:: MClothConstraintBridge ()

Description

Class constructor.

MClothConstraintBridge:: ~MClothConstraintBridge ()

Description

Class destructor.

MStatus MClothConstraintBridge:: execute ( MClothParticle * particle, bool soft, double shear, double damp )

Description

execute this cloth constraint.

Arguments

  • particle The particle associated with this constraint.
  • soft If true then then constraint is soft constraint.
  • shear The shear value associated with this constraint.
  • damp The damp value associated with this constraint.

Return Value

  • MS:kSuccess The method was successful.
  • MS::kFailure An object error has occurred.

This class has no child classes.


Autodesk® Maya® 8.0 © 1997-2006 Autodesk, Inc. All rights reserved. doc++ Copyright