CSLXSILimit Class Reference
This class represents an XSI_Limit template.
More...#include <XSILimit.h>
Inheritance diagram for CSLXSILimit:
List of all members.
Detailed Description
This class represents an XSI_Limit template.
Encapsulates the minimum and maximum limits for dotXSI 5.0+ (see the XSI_Limit template reference).
- See also:
- CSLAnimatableType
CSLTemplate
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| [in] |
in_pScene |
Pointer to the scene |
| [in] |
in_pModel |
Pointer to the model |
| [in] |
in_pTemplate |
Pointer to the CdotXSITemplate |
Member Function Documentation
Returns the type of this template
- Return values:
-
Implements CSLTemplate.
Returns the parameter connected to this limit.
- Returns:
- Pointer to a parameter proxy.
Connects a previously allocated parameter
- Parameters:
-
| [in] |
in_pNewParameter |
Parameter to connect |
- Returns:
- The connected parameter (
in_pNewParameter) or NULL if a parameter was already connected.
| virtual SI_Float GetMinimum |
( |
|
) |
[virtual] |
Returns the minimum value
- Returns:
- the minimum value
| virtual SI_Void SetMinimum |
( |
SI_Float |
in_fMin |
) |
[virtual] |
Sets the minimum value
- Parameters:
-
| [in] |
in_fMin |
The minimum value. |
| virtual SI_Float GetMaximum |
( |
|
) |
[virtual] |
Returns the maximum value
- Returns:
- the maximum value
| virtual SI_Void SetMaximum |
( |
SI_Float |
in_fMax |
) |
[virtual] |
Sets the maximum value
- Parameters:
-
| [in] |
in_fMax |
The maximum value. |
| virtual SI_Bool GetMinimumActive |
( |
|
) |
[virtual] |
Returns the Minimum active value
- Returns:
- the minimum active value
| virtual SI_Void SetMinimumActive |
( |
SI_Bool |
in_bActive |
) |
[virtual] |
Sets the Minimum active value
- Parameters:
-
| [in] |
in_bActive |
Activeness. |
| virtual SI_Bool GetMaximumActive |
( |
|
) |
[virtual] |
Returns the Maximum active value
- Returns:
- the maximum active value
| virtual SI_Void SetMaximumActive |
( |
SI_Bool |
in_bActive |
) |
[virtual] |
Sets the Maximum active value
- Parameters:
-
| [in] |
in_bActive |
Activeness. |
| SI_Char* GetParameterName |
( |
|
) |
|
Returns the name of the parameter
- Returns:
- The name.
| SI_Void SetParameterName |
( |
SI_Char * |
in_szParameterName |
) |
|
Sets the name of the parameter
- Parameters:
-
| [in] |
in_szParameterName |
The name. |
| virtual const SI_Char* GetParameterName |
( |
CSLAnimatableType * |
in_pParameter |
) |
[virtual] |
Returns the name (string) of a specified sub parameter.
- Parameters:
-
| [in] |
in_pParameter |
The sub parameter |
- Returns:
- Name of the sub parameter.
Reimplemented from CSLTemplate.
Searches for a parameter by name
- Parameters:
-
| [in] |
in_szName |
Name of the parameter to look for |
- Returns:
- Pointer to the found parameter or null if not found
Reimplemented from CSLTemplate.
Searches for a parameter by name and type
- Parameters:
-
| [in] |
in_Type |
Type of the parameter to look for |
| [in] |
in_szParameterName |
Name of the parameter to look for |
- Returns:
- Pointer to the found parameter or null if not found
Reimplemented from CSLTemplate.
Evaluates this limit
- Return values:
-
The documentation for this class was generated from the following file: