class MClothMaterial

Jump to documentation

Access to various cloth material properties.

public members:

MClothMaterial ()
virtual ~MClothMaterial ()
virtual MClothMaterial & operator += ( MClothMaterial & other )
virtual MClothMaterial & operator *= ( double value )
virtual bool equal ( MClothMaterial * other )
virtual void update ()
virtual void setupRelaxProperty ()

Documentation

Access to various cloth material properties.
Description

This class provides access to various cloth material properties. Cloth solver writers can override this class to get custom material properties.

Functions

MClothMaterial:: MClothMaterial ()

Description

Class constructor.

MClothMaterial:: ~MClothMaterial ()

Description

Class destructor.

MClothMaterial & MClothMaterial:: operator += ( MClothMaterial & other )

Description

Add two cloth properties.

Arguments

  • property The property to add.

Return Value

  • MClothMaterial& MClothMaterial object.

MClothMaterial & MClothMaterial:: operator *= ( double value )

Description

Multiply each cloth property with constant value.

Arguments

  • value The value to multiply.

Return Value

  • Update cloth material object.

bool MClothMaterial:: equal ( MClothMaterial * other )

Description

Check if two cloth material are equal.

Arguments

  • other The cloth material to check.

Return Value

  • A boolean true or false.

void MClothMaterial:: setupRelaxProperty ()

Description

set up default relax property.

Arguments

Return Value

void MClothMaterial:: update ()

Description

update the internal material properties.

Arguments

Return Value

This class has no child classes.


Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. doc++ Copyright