class
AttributeTessellationSamplingSettings
Settings for sampling tessellated attributes from input data, either direct injected or through material casting.
Properties
Property | Description |
AttributeFormat | The attribute data format (Setting only applicable if also allocating the attribute while sampling/injecting data) |
BlendOperation | Blend operation. How to interpret multiple samples when inserting into the final sample. |
Name | The name of the AttributeTessellationSamplingSettings object. (Inherited from Object) |
SourceMaterialId | Id of the source material in the materials list to sample. To sample all materials, set to -1. |
SupersamplingCount | The number of times to super-sample into the tessellated attribute. |
Methods
Method | Description |
AddObserver | Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object) |
FlipChannel | Flips/negates the values on one channel (0-3) |
GetBoolParameter | Get a named parameter boolean value. (Inherited from SettingsObject) |
GetChannelBias | Gets the current bias value for one channel (0-3) |
GetClass | Get the name of the AttributeTessellationSamplingSettings class. (Inherited from Object) |
GetDoubleParameter | Get a named parameter floating point value. (Inherited from SettingsObject) |
GetErrorString | Returns a string describing the error that was found the last time ValidateSettings was performed. (Inherited from SettingsObject) |
GetIntParameter | Get a named parameter integer value. (Inherited from SettingsObject) |
GetStringParameter | Get a named parameter string value. (Inherited from SettingsObject) |
GetTransformationToMatrix4x4 | Copy the transformation kernel data to a 4x4 matrix |
GetUIntParameter | Get a named parameter unsigned integer value. (Inherited from SettingsObject) |
IsA | Returns true if AttributeTessellationSamplingSettings is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
IsNull | Returns true if the AttributeTessellationSamplingSettings object is invalid. (Inherited from Object) |
IsSameObjectAs | Returns true if the AttributeTessellationSamplingSettings object is valid. (Inherited from Object) |
NonNull | Returns true if the AttributeTessellationSamplingSettings object is valid. (Inherited from Object) |
PrintInfo | Prints the content/info of the AttributeTessellationSamplingSettings object to the log. (Inherited from Object) |
RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
ResetTransformation | Set the sample transformation to pass the data unmodified. |
SetBoolParameter | Set a named parameter boolean value. (Inherited from SettingsObject) |
SetChannelBias | Sets the bias value for one channel (0-3) |
SetChannelSamplingKernel | Sets the sampling kernel on one channel (0-3) |
SetDoubleParameter | Set a named parameter floating point value. (Inherited from SettingsObject) |
SetIntParameter | Set a named parameter integer value. (Inherited from SettingsObject) |
SetStringParameter | Set a named parameter string value. (Inherited from SettingsObject) |
SetTransformationFromMatrix4x4 | Copy the transformation kernel data from a 4x4 matrix |
SetUIntParameter | Set a named parameter unsigned integer value. (Inherited from SettingsObject) |
SetValidateParameterNames | Set if parameter names should be validated or not. Parameters that previously do not exist will generate and error if validation is enabled and be allowed if validation is disabled. (Inherited from SettingsObject) |
ToJSON | Get settings as JSON for debugging purposes. (Inherited from SettingsObject) |
ValidateSettings | Validates the current settings values. (Inherited from SettingsObject) |
Static methods
Method | Description |
IsClassA | Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
SafeCast | SafeCast makes sure the input object is of a class that can be cast into spAttributeTessellationSamplingSettings, and if this is the case, returns the object cast into spAttributeTessellationSamplingSettings. (Inherited from Object) |
Properties details
The attribute data format (Setting only applicable if also allocating the attribute while sampling/injecting data)
Syntax
Type | Name | Min | Max | Description |
EAttributeFormat | value | | | The value to set AttributeFormat to. |
Type: EAttributeFormat
Default: U8
Key | Value | Comment |
U8 | 4097 | 1 unsigned 8-bit value. |
S8 | 4353 | 1 signed 8-bit value. |
U8vec2 | 8193 | 2 unsigned 8-bit values. |
S8vec2 | 8449 | 2 signed 8-bit values. |
U8vec3 | 12289 | 3 unsigned 8-bit values. |
S8vec3 | 12545 | 3 signed 8-bit values. |
U8vec4 | 16385 | 4 unsigned 8-bit values. |
S8vec4 | 16641 | 4 signed 8-bit values. |
U16 | 4098 | 1 unsigned 16-bit value. |
S16 | 4354 | 1 signed 16-bit value. |
U16vec2 | 8194 | 2 unsigned 16-bit values. |
S16vec2 | 8450 | 2 signed 16-bit values. |
U16vec3 | 12290 | 3 unsigned 16-bit values. |
S16vec3 | 12546 | 3 signed 16-bit values. |
U16vec4 | 16386 | 4 unsigned 16-bit values. |
S16vec4 | 16642 | 4 signed 16-bit values. |
U32 | 4100 | 1 unsigned 32-bit value. |
S32 | 4356 | 1 signed 32-bit value. |
F32 | 4612 | 1 floating-point 32-bit value. |
U32vec2 | 8196 | 2 unsigned 32-bit values. |
S32vec2 | 8452 | 2 signed 32-bit values. |
F32vec2 | 8708 | 2 floating-point 32-bit values. |
U32vec3 | 12292 | 3 unsigned 32-bit values. |
S32vec3 | 12548 | 3 signed 32-bit values. |
F32vec3 | 12804 | 3 floating-point 32-bit values. |
U32vec4 | 16388 | 4 unsigned 32-bit values. |
S32vec4 | 16644 | 4 signed 32-bit values. |
F32vec4 | 16900 | 4 floating-point 32-bit values. |
U64 | 4104 | 1 unsigned 64-bit value. |
S64 | 4360 | 1 signed 64-bit value. |
F64 | 4616 | 1 floating-point 64-bit value. |
F64vec2 | 8712 | 2 floating-point 64-bit values. |
F64vec3 | 12808 | 3 floating-point 64-bit values. |
F64vec4 | 16904 | 4 floating-point 64-bit values. |
Syntax
Type | Name | Min | Max | Description |
EAttributeFormat | value | | | The value to set AttributeFormat to. |
Type: EAttributeFormat
Default: U8
Key | Value | Comment |
U8 | 4097 | 1 unsigned 8-bit value. |
S8 | 4353 | 1 signed 8-bit value. |
U8vec2 | 8193 | 2 unsigned 8-bit values. |
S8vec2 | 8449 | 2 signed 8-bit values. |
U8vec3 | 12289 | 3 unsigned 8-bit values. |
S8vec3 | 12545 | 3 signed 8-bit values. |
U8vec4 | 16385 | 4 unsigned 8-bit values. |
S8vec4 | 16641 | 4 signed 8-bit values. |
U16 | 4098 | 1 unsigned 16-bit value. |
S16 | 4354 | 1 signed 16-bit value. |
U16vec2 | 8194 | 2 unsigned 16-bit values. |
S16vec2 | 8450 | 2 signed 16-bit values. |
U16vec3 | 12290 | 3 unsigned 16-bit values. |
S16vec3 | 12546 | 3 signed 16-bit values. |
U16vec4 | 16386 | 4 unsigned 16-bit values. |
S16vec4 | 16642 | 4 signed 16-bit values. |
U32 | 4100 | 1 unsigned 32-bit value. |
S32 | 4356 | 1 signed 32-bit value. |
F32 | 4612 | 1 floating-point 32-bit value. |
U32vec2 | 8196 | 2 unsigned 32-bit values. |
S32vec2 | 8452 | 2 signed 32-bit values. |
F32vec2 | 8708 | 2 floating-point 32-bit values. |
U32vec3 | 12292 | 3 unsigned 32-bit values. |
S32vec3 | 12548 | 3 signed 32-bit values. |
F32vec3 | 12804 | 3 floating-point 32-bit values. |
U32vec4 | 16388 | 4 unsigned 32-bit values. |
S32vec4 | 16644 | 4 signed 32-bit values. |
F32vec4 | 16900 | 4 floating-point 32-bit values. |
U64 | 4104 | 1 unsigned 64-bit value. |
S64 | 4360 | 1 signed 64-bit value. |
F64 | 4616 | 1 floating-point 64-bit value. |
F64vec2 | 8712 | 2 floating-point 64-bit values. |
F64vec3 | 12808 | 3 floating-point 64-bit values. |
F64vec4 | 16904 | 4 floating-point 64-bit values. |
Syntax
Name | Type | Min | Max | Description |
value | EAttributeFormat | | | The value to set AttributeFormat to. |
Type: EAttributeFormat
Default: U8
Key | Value | Comment |
EAttributeFormat_U8 | 4097 | 1 unsigned 8-bit value. |
EAttributeFormat_S8 | 4353 | 1 signed 8-bit value. |
EAttributeFormat_U8vec2 | 8193 | 2 unsigned 8-bit values. |
EAttributeFormat_S8vec2 | 8449 | 2 signed 8-bit values. |
EAttributeFormat_U8vec3 | 12289 | 3 unsigned 8-bit values. |
EAttributeFormat_S8vec3 | 12545 | 3 signed 8-bit values. |
EAttributeFormat_U8vec4 | 16385 | 4 unsigned 8-bit values. |
EAttributeFormat_S8vec4 | 16641 | 4 signed 8-bit values. |
EAttributeFormat_U16 | 4098 | 1 unsigned 16-bit value. |
EAttributeFormat_S16 | 4354 | 1 signed 16-bit value. |
EAttributeFormat_U16vec2 | 8194 | 2 unsigned 16-bit values. |
EAttributeFormat_S16vec2 | 8450 | 2 signed 16-bit values. |
EAttributeFormat_U16vec3 | 12290 | 3 unsigned 16-bit values. |
EAttributeFormat_S16vec3 | 12546 | 3 signed 16-bit values. |
EAttributeFormat_U16vec4 | 16386 | 4 unsigned 16-bit values. |
EAttributeFormat_S16vec4 | 16642 | 4 signed 16-bit values. |
EAttributeFormat_U32 | 4100 | 1 unsigned 32-bit value. |
EAttributeFormat_S32 | 4356 | 1 signed 32-bit value. |
EAttributeFormat_F32 | 4612 | 1 floating-point 32-bit value. |
EAttributeFormat_U32vec2 | 8196 | 2 unsigned 32-bit values. |
EAttributeFormat_S32vec2 | 8452 | 2 signed 32-bit values. |
EAttributeFormat_F32vec2 | 8708 | 2 floating-point 32-bit values. |
EAttributeFormat_U32vec3 | 12292 | 3 unsigned 32-bit values. |
EAttributeFormat_S32vec3 | 12548 | 3 signed 32-bit values. |
EAttributeFormat_F32vec3 | 12804 | 3 floating-point 32-bit values. |
EAttributeFormat_U32vec4 | 16388 | 4 unsigned 32-bit values. |
EAttributeFormat_S32vec4 | 16644 | 4 signed 32-bit values. |
EAttributeFormat_F32vec4 | 16900 | 4 floating-point 32-bit values. |
EAttributeFormat_U64 | 4104 | 1 unsigned 64-bit value. |
EAttributeFormat_S64 | 4360 | 1 signed 64-bit value. |
EAttributeFormat_F64 | 4616 | 1 floating-point 64-bit value. |
EAttributeFormat_F64vec2 | 8712 | 2 floating-point 64-bit values. |
EAttributeFormat_F64vec3 | 12808 | 3 floating-point 64-bit values. |
EAttributeFormat_F64vec4 | 16904 | 4 floating-point 64-bit values. |
BlendOperation
Blend operation. How to interpret multiple samples when inserting into the final sample.
Syntax
SetBlendOperation parameters
Type | Name | Min | Max | Description |
EBlendOperation | value | | | The value to set BlendOperation to. |
GetBlendOperation return value
Type: EBlendOperation
Default: Mean
Key | Value | Comment |
Mean | 0 | Use the mean of all samples |
Min | 1 | Keep the minimum sample |
Max | 2 | Keep the maximum sample |
Syntax
SetBlendOperation parameters
Type | Name | Min | Max | Description |
EBlendOperation | value | | | The value to set BlendOperation to. |
GetBlendOperation return value
Type: EBlendOperation
Default: Mean
Key | Value | Comment |
Mean | 0 | Use the mean of all samples |
Min | 1 | Keep the minimum sample |
Max | 2 | Keep the maximum sample |
Syntax
SetBlendOperation parameters
Name | Type | Min | Max | Description |
value | EBlendOperation | | | The value to set BlendOperation to. |
GetBlendOperation return value
Type: EBlendOperation
Default: Mean
Key | Value | Comment |
EBlendOperation_Mean | 0 | Use the mean of all samples |
EBlendOperation_Min | 1 | Keep the minimum sample |
EBlendOperation_Max | 2 | Keep the maximum sample |
Name
The name of the AttributeTessellationSamplingSettings object. (Inherited from Object)
Syntax
SetName parameters
Type | Name | Min | Max | Description |
const char * | name | | | New name of the object. |
GetName return value
Type: spString
Syntax
SetName parameters
Type | Name | Min | Max | Description |
string | name | | | New name of the object. |
GetName return value
Type: string
Syntax
SetName parameters
Name | Type | Min | Max | Description |
name | str | | | New name of the object. |
GetName return value
Type: str
SourceMaterialId
Id of the source material in the materials list to sample. To sample all materials, set to -1.
Syntax
SetSourceMaterialId parameters
Type | Name | Min | Max | Description |
rid | value | | | The value to set SourceMaterialId to. |
GetSourceMaterialId return value
Type: rid
Default: -1
Syntax
SetSourceMaterialId parameters
Type | Name | Min | Max | Description |
int | value | | | The value to set SourceMaterialId to. |
GetSourceMaterialId return value
Type: int
Default: -1
Syntax
SetSourceMaterialId parameters
Name | Type | Min | Max | Description |
value | int | | | The value to set SourceMaterialId to. |
GetSourceMaterialId return value
Type: int
Default: -1
SupersamplingCount
The number of times to super-sample into the tessellated attribute.
Syntax
SetSupersamplingCount parameters
Type | Name | Min | Max | Description |
unsigned int | value | 1 | | The value to set SupersamplingCount to. |
GetSupersamplingCount return value
Type: unsigned int
Default: 1
Syntax
SetSupersamplingCount parameters
Type | Name | Min | Max | Description |
uint | value | 1 | | The value to set SupersamplingCount to. |
GetSupersamplingCount return value
Type: uint
Default: 1
Syntax
SetSupersamplingCount parameters
Name | Type | Min | Max | Description |
value | int | 1 | | The value to set SupersamplingCount to. |
GetSupersamplingCount return value
Type: int
Default: 1
Methods details
AddObserver
Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
Syntax
Parameters
Type | Name | Min | Max | Description |
Observer | observer | | | Observer is the object that will receive events. |
Return value
Type: rid
Syntax
Parameters
Type | Name | Min | Max | Description |
Observer | observer | | | Observer is the object that will receive events. |
Return value
Type: int
Syntax
Parameters
Name | Type | Min | Max | Description |
observer | Observer | | | Observer is the object that will receive events. |
Return value
Type: int
FlipChannel
Flips/negates the values on one channel (0-3)
Syntax
Parameters
Type | Name | Min | Max | Description |
unsigned int | channelIndex | 0 | 3 | The channel to flip (0-3) |
Syntax
Parameters
Type | Name | Min | Max | Description |
uint | channelIndex | 0 | 3 | The channel to flip (0-3) |
Syntax
Parameters
Name | Type | Min | Max | Description |
channelIndex | int | 0 | 3 | The channel to flip (0-3) |
GetBoolParameter
Get a named parameter boolean value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
Return value
Type: bool
GetChannelBias
Gets the current bias value for one channel (0-3)
Syntax
Parameters
Type | Name | Min | Max | Description |
unsigned int | channelIndex | 0 | 3 | The channel to modify bias value for |
Return value
Type: real
Default: 0
Syntax
Parameters
Type | Name | Min | Max | Description |
uint | channelIndex | 0 | 3 | The channel to modify bias value for |
Return value
Type: float
Default: 0
Syntax
Parameters
Name | Type | Min | Max | Description |
channelIndex | int | 0 | 3 | The channel to modify bias value for |
Return value
Type: float
Default: 0
GetClass
Get the name of the AttributeTessellationSamplingSettings class. (Inherited from Object)
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
GetDoubleParameter
Get a named parameter floating point value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
Return value
Type: double
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
Return value
Type: double
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
Return value
Type: float
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
GetIntParameter
Get a named parameter integer value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
Return value
Type: int
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
Return value
Type: int
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
Return value
Type: int
GetStringParameter
Get a named parameter string value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
Return value
Type: spString
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
Return value
Type: string
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
Return value
Type: str
Copy the transformation kernel data to a 4x4 matrix
Syntax
Parameters
Type | Name | Min | Max | Description |
Matrix4x4 | destMatrix | | | The matrix to copy the transformation kernel to. |
Syntax
Parameters
Type | Name | Min | Max | Description |
Matrix4x4 | destMatrix | | | The matrix to copy the transformation kernel to. |
Syntax
Parameters
Name | Type | Min | Max | Description |
destMatrix | Matrix4x4 | | | The matrix to copy the transformation kernel to. |
GetUIntParameter
Get a named parameter unsigned integer value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
Return value
Type: unsigned int
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
Return value
Type: uint
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
Return value
Type: int
IsA
Returns true if AttributeTessellationSamplingSettings is a or is a descendant of the class named as the type parameter. (Inherited from Object)
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | type | | | Name of the class to check if AttributeTessellationSamplingSettings 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 AttributeTessellationSamplingSettings 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 AttributeTessellationSamplingSettings is, or is a descendant of. |
Return value
Type: bool
IsNull
Returns true if the AttributeTessellationSamplingSettings object is invalid. (Inherited from Object)
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
IsSameObjectAs
Returns true if the AttributeTessellationSamplingSettings object is valid. (Inherited from Object)
Syntax
Parameters
Type | Name | Min | Max | Description |
Object | object | | | Object to compare with. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
Object | object | | | Object to compare with. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
object | Object | | | Object to compare with. |
Return value
Type: bool
NonNull
Returns true if the AttributeTessellationSamplingSettings object is valid. (Inherited from Object)
Syntax
Parameters
NonNull takes no parameters.
Return value
Type: bool
Syntax
Parameters
NonNull takes no parameters.
Return value
Type: bool
Syntax
Parameters
NonNull takes no parameters.
Return value
Type: bool
PrintInfo
Prints the content/info of the AttributeTessellationSamplingSettings object to the log. (Inherited from Object)
Syntax
Parameters
PrintInfo takes no parameters.
Syntax
Parameters
PrintInfo takes no parameters.
Syntax
Parameters
PrintInfo takes no parameters.
RemoveObserver
Removes a previously added observer object. (Inherited from Object)
Syntax
Parameters
Type | Name | Min | Max | Description |
rid | observerId | | | ObserverId is the id returned by AddObserver when the observer was added. |
Syntax
Parameters
Type | Name | Min | Max | Description |
int | observerId | | | ObserverId is the id returned by AddObserver when the observer was added. |
Syntax
Parameters
Name | Type | Min | Max | Description |
observerId | int | | | ObserverId is the id returned by AddObserver when the observer was added. |
Set the sample transformation to pass the data unmodified.
Syntax
Parameters
Type | Name | Min | Max | Description |
Syntax
Parameters
Type | Name | Min | Max | Description |
Syntax
Parameters
Name | Type | Min | Max | Description |
SetBoolParameter
Set a named parameter boolean value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
bool | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
bool | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
value | bool | | | New value for parameter. |
Return value
Type: bool
SetChannelBias
Sets the bias value for one channel (0-3)
Syntax
Parameters
Type | Name | Min | Max | Description |
unsigned int | channelIndex | 0 | 3 | The channel to modify bias value for |
real | biasValue | | | The bias value to set in the channel |
Syntax
Parameters
Type | Name | Min | Max | Description |
uint | channelIndex | 0 | 3 | The channel to modify bias value for |
float | biasValue | | | The bias value to set in the channel |
Syntax
Parameters
Name | Type | Min | Max | Description |
channelIndex | int | 0 | 3 | The channel to modify bias value for |
biasValue | float | | | The bias value to set in the channel |
SetChannelSamplingKernel
Sets the sampling kernel on one channel (0-3)
Syntax
Parameters
Type | Name | Min | Max | Description |
unsigned int | channelIndex | 0 | 3 | The channel to flip (0-3) |
real | bias | | | The bias value, which is added to the final result. |
real | input0 | | | Input 0 (red / x) |
real | input1 | | | Input 1 (green / y) |
real | input2 | | | Input 2 (blue / z) |
real | input3 | | | Input 3 (alpha / w) |
Syntax
Parameters
Type | Name | Min | Max | Description |
uint | channelIndex | 0 | 3 | The channel to flip (0-3) |
float | bias | | | The bias value, which is added to the final result. |
float | input0 | | | Input 0 (red / x) |
float | input1 | | | Input 1 (green / y) |
float | input2 | | | Input 2 (blue / z) |
float | input3 | | | Input 3 (alpha / w) |
Syntax
Parameters
Name | Type | Min | Max | Description |
channelIndex | int | 0 | 3 | The channel to flip (0-3) |
bias | float | | | The bias value, which is added to the final result. |
input0 | float | | | Input 0 (red / x) |
input1 | float | | | Input 1 (green / y) |
input2 | float | | | Input 2 (blue / z) |
input3 | float | | | Input 3 (alpha / w) |
SetDoubleParameter
Set a named parameter floating point value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
double | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
double | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
value | float | | | New value for parameter. |
Return value
Type: bool
SetIntParameter
Set a named parameter integer value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
int | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
int | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
value | int | | | New value for parameter. |
Return value
Type: bool
SetStringParameter
Set a named parameter string value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
const char * | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
string | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
value | str | | | New value for parameter. |
Return value
Type: bool
Copy the transformation kernel data from a 4x4 matrix
Syntax
Parameters
Type | Name | Min | Max | Description |
Matrix4x4 | srcMatrix | | | The matrix to copy the transformation kernel from. |
Syntax
Parameters
Type | Name | Min | Max | Description |
Matrix4x4 | srcMatrix | | | The matrix to copy the transformation kernel from. |
Syntax
Parameters
Name | Type | Min | Max | Description |
srcMatrix | Matrix4x4 | | | The matrix to copy the transformation kernel from. |
SetUIntParameter
Set a named parameter unsigned integer value.
Syntax
Parameters
Type | Name | Min | Max | Description |
const char * | name | | | Parameter name. |
unsigned int | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Type | Name | Min | Max | Description |
string | name | | | Parameter name. |
uint | value | | | New value for parameter. |
Return value
Type: bool
Syntax
Parameters
Name | Type | Min | Max | Description |
name | str | | | Parameter name. |
value | int | | | New value for parameter. |
Return value
Type: bool
SetValidateParameterNames
Set if parameter names should be validated or not. Parameters that previously do not exist will generate and error if validation is enabled and be allowed if validation is disabled.
Syntax
Parameters
Type | Name | Min | Max | Description |
bool | validate | | | Flag indicating if validation is performed or not. |
Syntax
Parameters
Type | Name | Min | Max | Description |
bool | validate | | | Flag indicating if validation is performed or not. |
Syntax
Parameters
Name | Type | Min | Max | Description |
validate | bool | | | Flag indicating if validation is performed or not. |
ToJSON
Get settings as JSON for debugging purposes.
Syntax
Parameters
ToJSON takes no parameters.
Return value
Type: spString
Syntax
Parameters
ToJSON takes no parameters.
Return value
Type: string
Syntax
Parameters
ToJSON takes no parameters.
Return value
Type: str
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. (Inherited from Object)
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 spAttributeTessellationSamplingSettings, and if this is the case, returns the object cast into spAttributeTessellationSamplingSettings. (Inherited from Object)