class
FlipbookSettings
Settings for the ImpostorType: FlipBook
Properties
Property | Description |
FlipRowColumnOrder | By default the views are outputted in order of columns then rows. |
Name | The name of the FlipbookSettings object. (Inherited from Object) |
NumberOfColumns | Determines the number of columns in the output atlas. If both NumberOfColumns and NumberOfRows are left at zero, the deprecated NumberOfViews will be used instead. |
NumberOfRows | Determines the number of columns in the output atlas. If both NumberOfColumns and NumberOfRows are left at zero, the deprecated NumberOfViews will be used instead. |
NumberOfViews | Deprecated: Use NumberOfColumns and NumberOfRows instead. If NumberOfColumns or NumberOfRows are nonzero, they will be used instead. Determines the number of views generated for the flip book impostor. Value has to be a squared number. |
OutputEachViewSeparately | If enabled will create a MappingImage per view, instead of concatenating them all into the same atlas. Fetch the indexed MappingImages using GetMappingImageForImageIndex() on the ImpostorProcessor. |
OverrideFlipbookTextureWidth | If OverrideFlipbookTextureWidth is set to a nonzero value it will determine the total width of the texture atlas. The height will be determined by the ratio of NumberOfRows to the NumberOfColumns. If OverrideFlipbookTextureWidth is not set the width and height will be set per flipbook view using SetTextureWidth() in the MappingImageSettings. |
PivotAroundOrigin | If PivotAroundOrigin is enabled, the Flipbook quad geometry will be centered around the origin instead of the object center to match the pivoted rotation of the original geometry. This creates less optimal texture usage however, and the further the object center is from the origin the larger the texture waste becomes (in the direction away from the object center). Usage example: if the subject is a tree with an off-center trunk base, then flipping between the views will have the base of the trunk moving around. But if the trunk is centered on the origin and PivotAroundOrigin is enabled, the base of the trunk will remain stationary. |
UpVector | The views are rotated around the up vector and the rendered images are oriented with the up vector. |
UpVectorX | The views are rotated around the up vector and the rendered images are oriented with the up vector. |
UpVectorY | The views are rotated around the up vector and the rendered images are oriented with the up vector. |
UpVectorZ | The views are rotated around the up vector and the rendered images are oriented with the up vector. |
ViewDirection | This vector determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction. |
ViewDirectionX | The X component of the ViewDirection vector. The ViewDirection determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction. |
ViewDirectionY | The Y component of the ViewDirection vector. The ViewDirection determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction. |
ViewDirectionZ | The Z component of the ViewDirection vector. The ViewDirection determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction. |
Methods
Method | Description |
AddObserver | Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object) |
GetBoolParameter | Get a named parameter boolean value. (Inherited from SettingsObject) |
GetClass | Get the name of the FlipbookSettings 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) |
GetUIntParameter | Get a named parameter unsigned integer value. (Inherited from SettingsObject) |
IsA | Returns true if FlipbookSettings is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
IsNull | Returns true if the FlipbookSettings object is invalid. (Inherited from Object) |
IsSameObjectAs | Returns true if the FlipbookSettings object is valid. (Inherited from Object) |
NonNull | Returns true if the FlipbookSettings object is valid. (Inherited from Object) |
PrintInfo | Prints the content/info of the FlipbookSettings object to the log. (Inherited from Object) |
RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
SetBoolParameter | Set a named parameter boolean value. (Inherited from SettingsObject) |
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) |
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 spFlipbookSettings, and if this is the case, returns the object cast into spFlipbookSettings. (Inherited from Object) |
Properties details
FlipRowColumnOrder
By default the views are outputted in order of columns then rows.
Syntax
SetFlipRowColumnOrder parameters
Type | Name | Min | Max | Description |
bool | value | | | The new value. |
GetFlipRowColumnOrder return value
Type: bool
Default: false
Syntax
SetFlipRowColumnOrder parameters
Type | Name | Min | Max | Description |
bool | value | | | The new value. |
GetFlipRowColumnOrder return value
Type: bool
Default: false
Syntax
SetFlipRowColumnOrder parameters
Name | Type | Min | Max | Description |
value | bool | | | The new value. |
GetFlipRowColumnOrder return value
Type: bool
Default: false
Name
The name of the FlipbookSettings 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
NumberOfColumns
Determines the number of columns in the output atlas. If both NumberOfColumns and NumberOfRows are left at zero, the deprecated NumberOfViews will be used instead.
Syntax
SetNumberOfColumns parameters
Type | Name | Min | Max | Description |
unsigned int | value | 0 | 64 | The new value. |
GetNumberOfColumns return value
Type: unsigned int
Default: 0
Syntax
SetNumberOfColumns parameters
Type | Name | Min | Max | Description |
uint | value | 0 | 64 | The new value. |
GetNumberOfColumns return value
Type: uint
Default: 0
Syntax
SetNumberOfColumns parameters
Name | Type | Min | Max | Description |
value | int | 0 | 64 | The new value. |
GetNumberOfColumns return value
Type: int
Default: 0
NumberOfRows
Determines the number of columns in the output atlas. If both NumberOfColumns and NumberOfRows are left at zero, the deprecated NumberOfViews will be used instead.
Syntax
SetNumberOfRows parameters
Type | Name | Min | Max | Description |
unsigned int | value | 0 | 64 | The new value. |
GetNumberOfRows return value
Type: unsigned int
Default: 0
Syntax
SetNumberOfRows parameters
Type | Name | Min | Max | Description |
uint | value | 0 | 64 | The new value. |
GetNumberOfRows return value
Type: uint
Default: 0
Syntax
SetNumberOfRows parameters
Name | Type | Min | Max | Description |
value | int | 0 | 64 | The new value. |
GetNumberOfRows return value
Type: int
Default: 0
NumberOfViews
Deprecated: Use NumberOfColumns and NumberOfRows instead. If NumberOfColumns or NumberOfRows are nonzero, they will be used instead. Determines the number of views generated for the flip book impostor. Value has to be a squared number.
WARNING
This property is marked as deprecated and will be removed in a future version.
Use NumberOfColumns instead.
Syntax
SetNumberOfViews parameters
Type | Name | Min | Max | Description |
unsigned int | value | 0 | 64 | The new value, has to be a squared value. |
GetNumberOfViews return value
Type: unsigned int
Default: 9
Syntax
SetNumberOfViews parameters
Type | Name | Min | Max | Description |
uint | value | 0 | 64 | The new value, has to be a squared value. |
GetNumberOfViews return value
Type: uint
Default: 9
Syntax
SetNumberOfViews parameters
Name | Type | Min | Max | Description |
value | int | 0 | 64 | The new value, has to be a squared value. |
GetNumberOfViews return value
Type: int
Default: 9
OutputEachViewSeparately
If enabled will create a MappingImage per view, instead of concatenating them all into the same atlas. Fetch the indexed MappingImages using GetMappingImageForImageIndex() on the ImpostorProcessor.
Syntax
SetOutputEachViewSeparately parameters
Type | Name | Min | Max | Description |
bool | value | | | The new value. |
GetOutputEachViewSeparately return value
Type: bool
Default: false
Syntax
SetOutputEachViewSeparately parameters
Type | Name | Min | Max | Description |
bool | value | | | The new value. |
GetOutputEachViewSeparately return value
Type: bool
Default: false
Syntax
SetOutputEachViewSeparately parameters
Name | Type | Min | Max | Description |
value | bool | | | The new value. |
GetOutputEachViewSeparately return value
Type: bool
Default: false
OverrideFlipbookTextureWidth
If OverrideFlipbookTextureWidth is set to a nonzero value it will determine the total width of the texture atlas. The height will be determined by the ratio of NumberOfRows to the NumberOfColumns. If OverrideFlipbookTextureWidth is not set the width and height will be set per flipbook view using SetTextureWidth() in the MappingImageSettings.
Syntax
SetOverrideFlipbookTextureWidth parameters
Type | Name | Min | Max | Description |
unsigned int | value | 0 | 65536 | The new value. |
GetOverrideFlipbookTextureWidth return value
Type: unsigned int
Default: 0
Syntax
SetOverrideFlipbookTextureWidth parameters
Type | Name | Min | Max | Description |
uint | value | 0 | 65536 | The new value. |
GetOverrideFlipbookTextureWidth return value
Type: uint
Default: 0
Syntax
SetOverrideFlipbookTextureWidth parameters
Name | Type | Min | Max | Description |
value | int | 0 | 65536 | The new value. |
GetOverrideFlipbookTextureWidth return value
Type: int
Default: 0
PivotAroundOrigin
If PivotAroundOrigin is enabled, the Flipbook quad geometry will be centered around the origin instead of the object center to match the pivoted rotation of the original geometry. This creates less optimal texture usage however, and the further the object center is from the origin the larger the texture waste becomes (in the direction away from the object center). Usage example: if the subject is a tree with an off-center trunk base, then flipping between the views will have the base of the trunk moving around. But if the trunk is centered on the origin and PivotAroundOrigin is enabled, the base of the trunk will remain stationary.
Syntax
SetPivotAroundOrigin parameters
Type | Name | Min | Max | Description |
bool | value | | | The new value. |
GetPivotAroundOrigin return value
Type: bool
Default: false
Syntax
SetPivotAroundOrigin parameters
Type | Name | Min | Max | Description |
bool | value | | | The new value. |
GetPivotAroundOrigin return value
Type: bool
Default: false
Syntax
SetPivotAroundOrigin parameters
Name | Type | Min | Max | Description |
value | bool | | | The new value. |
GetPivotAroundOrigin return value
Type: bool
Default: false
UpVector
The views are rotated around the up vector and the rendered images are oriented with the up vector.
Syntax
SetUpVector parameters
Type | Name | Min | Max | Description |
RealData | value | | | The new up vector. |
GetUpVector return value
Type: spRealData
Default: 0,1,0
Syntax
SetUpVector parameters
Type | Name | Min | Max | Description |
float[] | value | | | The new up vector. |
GetUpVector return value
Type: spRealData
Default: 0,1,0
Syntax
SetUpVector parameters
Name | Type | Min | Max | Description |
value | float | | | The new up vector. |
GetUpVector return value
Type: float
Default: 0,1,0
UpVectorX
The views are rotated around the up vector and the rendered images are oriented with the up vector.
Syntax
SetUpVectorX parameters
Type | Name | Min | Max | Description |
real | value | -REAL_MAX | REAL_MAX | The new up vector X component. |
GetUpVectorX return value
Type: real
Default: 0
Syntax
SetUpVectorX parameters
Type | Name | Min | Max | Description |
float | value | -REAL_MAX | REAL_MAX | The new up vector X component. |
GetUpVectorX return value
Type: float
Default: 0
Syntax
SetUpVectorX parameters
Name | Type | Min | Max | Description |
value | float | -REAL_MAX | REAL_MAX | The new up vector X component. |
GetUpVectorX return value
Type: float
Default: 0
UpVectorY
The views are rotated around the up vector and the rendered images are oriented with the up vector.
Syntax
SetUpVectorY parameters
Type | Name | Min | Max | Description |
real | value | -REAL_MAX | REAL_MAX | The new up vector Y component. |
GetUpVectorY return value
Type: real
Default: 1
Syntax
SetUpVectorY parameters
Type | Name | Min | Max | Description |
float | value | -REAL_MAX | REAL_MAX | The new up vector Y component. |
GetUpVectorY return value
Type: float
Default: 1
Syntax
SetUpVectorY parameters
Name | Type | Min | Max | Description |
value | float | -REAL_MAX | REAL_MAX | The new up vector Y component. |
GetUpVectorY return value
Type: float
Default: 1
UpVectorZ
The views are rotated around the up vector and the rendered images are oriented with the up vector.
Syntax
SetUpVectorZ parameters
Type | Name | Min | Max | Description |
real | value | -REAL_MAX | REAL_MAX | The new up vector Z component. |
GetUpVectorZ return value
Type: real
Default: 0
Syntax
SetUpVectorZ parameters
Type | Name | Min | Max | Description |
float | value | -REAL_MAX | REAL_MAX | The new up vector Z component. |
GetUpVectorZ return value
Type: float
Default: 0
Syntax
SetUpVectorZ parameters
Name | Type | Min | Max | Description |
value | float | -REAL_MAX | REAL_MAX | The new up vector Z component. |
GetUpVectorZ return value
Type: float
Default: 0
ViewDirection
This vector determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction.
Syntax
SetViewDirection parameters
Type | Name | Min | Max | Description |
RealData | value | | | The new view vector. |
GetViewDirection return value
Type: spRealData
Default: 1,0,0
Syntax
SetViewDirection parameters
Type | Name | Min | Max | Description |
float[] | value | | | The new view vector. |
GetViewDirection return value
Type: spRealData
Default: 1,0,0
Syntax
SetViewDirection parameters
Name | Type | Min | Max | Description |
value | float | | | The new view vector. |
GetViewDirection return value
Type: float
Default: 1,0,0
ViewDirectionX
The X component of the ViewDirection vector. The ViewDirection determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction.
Syntax
SetViewDirectionX parameters
Type | Name | Min | Max | Description |
real | value | -REAL_MAX | REAL_MAX | The new view vector X component. |
GetViewDirectionX return value
Type: real
Default: 1
Syntax
SetViewDirectionX parameters
Type | Name | Min | Max | Description |
float | value | -REAL_MAX | REAL_MAX | The new view vector X component. |
GetViewDirectionX return value
Type: float
Default: 1
Syntax
SetViewDirectionX parameters
Name | Type | Min | Max | Description |
value | float | -REAL_MAX | REAL_MAX | The new view vector X component. |
GetViewDirectionX return value
Type: float
Default: 1
ViewDirectionY
The Y component of the ViewDirection vector. The ViewDirection determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction.
Syntax
SetViewDirectionY parameters
Type | Name | Min | Max | Description |
real | value | -REAL_MAX | REAL_MAX | The new view vector Y component. |
GetViewDirectionY return value
Type: real
Default: 0
Syntax
SetViewDirectionY parameters
Type | Name | Min | Max | Description |
float | value | -REAL_MAX | REAL_MAX | The new view vector Y component. |
GetViewDirectionY return value
Type: float
Default: 0
Syntax
SetViewDirectionY parameters
Name | Type | Min | Max | Description |
value | float | -REAL_MAX | REAL_MAX | The new view vector Y component. |
GetViewDirectionY return value
Type: float
Default: 0
ViewDirectionZ
The Z component of the ViewDirection vector. The ViewDirection determines the direction of the first view. The rest of the views are uniformly distributed around the scene rotated around the up-vector. The resulting billboard will be oriented in the negative view direction.
Syntax
SetViewDirectionZ parameters
Type | Name | Min | Max | Description |
real | value | -REAL_MAX | REAL_MAX | The new view vector Z component. |
GetViewDirectionZ return value
Type: real
Default: 0
Syntax
SetViewDirectionZ parameters
Type | Name | Min | Max | Description |
float | value | -REAL_MAX | REAL_MAX | The new view vector Z component. |
GetViewDirectionZ return value
Type: float
Default: 0
Syntax
SetViewDirectionZ parameters
Name | Type | Min | Max | Description |
value | float | -REAL_MAX | REAL_MAX | The new view vector Z component. |
GetViewDirectionZ return value
Type: float
Default: 0
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
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
GetClass
Get the name of the FlipbookSettings 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
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 FlipbookSettings 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 FlipbookSettings 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 FlipbookSettings 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 FlipbookSettings is, or is a descendant of. |
Return value
Type: bool
IsNull
Returns true if the FlipbookSettings 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 FlipbookSettings 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 FlipbookSettings 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 FlipbookSettings 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. |
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
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
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 spFlipbookSettings, and if this is the case, returns the object cast into spFlipbookSettings. (Inherited from Object)
Syntax
Parameters
Type | Name | Min | Max | Description |
Object | object | | | Object to cast. |
Return value
Type: FlipbookSettings
Syntax
Parameters
Type | Name | Min | Max | Description |
Object | object | | | Object to cast. |
Return value
Type: FlipbookSettings
Syntax
Parameters
Name | Type | Min | Max | Description |
object | Object | | | Object to cast. |
Return value
Type: FlipbookSettings