class
ParameterizerSettings
Settings for the parameterizer.
Properties
Property | Description |
LargeChartsImportance | Only used when the TexCoordGeneratorType is Parameterizer. The importance value for trying to have as large and few charts as possible. The closer the value is to 1, the slower it is. Having 0 means no extra focus will be put on reducing the number of charts. Having value 1 means maximum focus will be put on reducing the number of charts and thereby increasing the size of the charts. |
MaxStretch | Only used when the TexCoordGeneratorType is Parameterizer. The maximum allowed texture stretch. Range 0->1. |
Methods
Method | Description |
GetClass | Get the name of the ParameterizerSettings class. |
GetErrorString | Returns a string describing the error that was found the last time ValidateSettings was performed. |
IsA | Returns true if ParameterizerSettings is a or is a descendant of the class named as the type parameter. |
IsNull | Returns true if the ParameterizerSettings object is invalid. |
ValidateSettings | Validates the current settings values. |
Static methods
Method | Description |
IsClassA | Returns true if the class is a or is a descendant of the class named as the type parameter. |
SafeCast | SafeCast makes sure the input object is of a class that can be cast into spParameterizerSettings, and if this is the case, returns the object cast into spParameterizerSettings. |
Properties details
LargeChartsImportance
Only used when the TexCoordGeneratorType is Parameterizer. The importance value for trying to have as large and few charts as possible. The closer the value is to 1, the slower it is. Having 0 means no extra focus will be put on reducing the number of charts. Having value 1 means maximum focus will be put on reducing the number of charts and thereby increasing the size of the charts.
Syntax
SetLargeChartsImportance parameters
Type | Name | Min | Max | Description |
real | value | 0 | 1 | The desired large charts importance value. |
GetLargeChartsImportance return value
Type: real
Default: 0.2
Syntax
SetLargeChartsImportance parameters
Type | Name | Min | Max | Description |
float | value | 0 | 1 | The desired large charts importance value. |
GetLargeChartsImportance return value
Type: float
Default: 0.2
Syntax
SetLargeChartsImportance parameters
Name | Type | Min | Max | Description |
value | float | 0 | 1 | The desired large charts importance value. |
GetLargeChartsImportance return value
Type: float
Default: 0.2
MaxStretch
Only used when the TexCoordGeneratorType is Parameterizer. The maximum allowed texture stretch. Range 0->1.
Syntax
SetMaxStretch parameters
Type | Name | Min | Max | Description |
real | value | 0 | 1 | The desired maximum allowed texture stretch. |
GetMaxStretch return value
Type: real
Default: 0.33
Syntax
SetMaxStretch parameters
Type | Name | Min | Max | Description |
float | value | 0 | 1 | The desired maximum allowed texture stretch. |
GetMaxStretch return value
Type: float
Default: 0.33
Syntax
SetMaxStretch parameters
Name | Type | Min | Max | Description |
value | float | 0 | 1 | The desired maximum allowed texture stretch. |
GetMaxStretch return value
Type: float
Default: 0.33
Methods details
GetClass
Get the name of the ParameterizerSettings class.
Syntax
Parameters
GetClass takes no parameters.
Return value
Type: spString
Syntax
Parameters
GetClass takes no parameters.
Return value
Type: string
Syntax
Parameters
GetClass takes no parameters.
Return value
Type: str
GetErrorString
Returns a string describing the error that was found the last time ValidateSettings was performed.
Syntax
Parameters
GetErrorString takes no parameters.
Return value
Type: spString
Syntax
Parameters
GetErrorString takes no parameters.
Return value
Type: string
Syntax
Parameters
GetErrorString takes no parameters.
Return value
Type: str
IsA
Returns true if ParameterizerSettings is a or is a descendant of the class named as the type parameter.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | type | | | Name of the class to check if ParameterizerSettings is, or is a descendant of. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | type | | | Name of the class to check if ParameterizerSettings is, or is a descendant of. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
type | str | | | Name of the class to check if ParameterizerSettings is, or is a descendant of. |
Return value
Type: bool
IsNull
Returns true if the ParameterizerSettings object is invalid.
Syntax
Parameters
IsNull takes no parameters.
Return value
Type: bool
Syntax
Parameters
IsNull takes no parameters.
Return value
Type: bool
Syntax
Parameters
IsNull takes no parameters.
Return value
Type: bool
ValidateSettings
Validates the current settings values.
Syntax
Parameters
ValidateSettings takes no parameters.
Return value
Type: bool
Syntax
Parameters
ValidateSettings takes no parameters.
Return value
Type: bool
Syntax
Parameters
ValidateSettings takes no parameters.
Return value
Type: bool
Static methods details
IsClassA
Returns true if the class is a or is a descendant of the class named as the type parameter.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | type | | | Name of the class to check if the class is, or is a descendant of. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | type | | | Name of the class to check if the class is, or is a descendant of. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
type | str | | | Name of the class to check if the class is, or is a descendant of. |
Return value
Type: bool
SafeCast
SafeCast makes sure the input object is of a class that can be cast into spParameterizerSettings, and if this is the case, returns the object cast into spParameterizerSettings.
Syntax
Parameters
Type | Name | Min | Max | Description |
Object | object | | | Object to cast. |
Return value
Type: ParameterizerSettings
Syntax
Parameters
Type | Name | Min | Max | Description |
Object | object | | | Object to cast. |
Return value
Type: ParameterizerSettings
Syntax
Parameters
Name | Type | Min | Max | Description |
object | Object | | | Object to cast. |
Return value
Type: ParameterizerSettings