sbsbakingconverterparam module
Module sbsbakingconverterparam provides the definition of the BakingConverterParam object.
- class pysbs.sbsbakers.sbsbakingconverterparam.BakingParam(aIdentifier, aQtVariant)
Bases:
objectThis class provide the common interface for BakingConverterParam and BakingGlobalParam
- Members
mIdentifier (
ConverterParamEnum): identifier of the propertymQtVariant (
QtVariant): value of the property (type + value)
- getType()
Get the type of the
QtVariantobject- Returns:
The type of the
QtVariantobject, as aQtVariantTypeEnum
- getValueStr()
Get the value of the
QtVariantobject converted into a string- Returns:
The value of the
QtVariantobject as a string
- setValue(aValue)
Set the value of the
QtVariantobject- Parameters:
aValue (any type compatible with the type of the
QtVariantobject) – The value to set
- isAResourceParam()
Return True if this BakingConverterParam is a resource parameter (e.g. Normal map, Texture file, Direction file, Cage file) with a type STRING.
- Returns:
True if it is a resource parameter, False otherwise
- class pysbs.sbsbakers.sbsbakingconverterparam.BakingConverterParam(aIdentifier, aQtVariant)
Bases:
BakingParamThis class provide the definition of a BakingConverterParam
- Members
mIdentifier (
ConverterParamEnum): identifier of the propertymQtVariant (
QtVariant): value of the property (type + value)
- class pysbs.sbsbakers.sbsbakingconverterparam.BakingGlobalParam(aIdentifier, aQtVariant)
Bases:
BakingParamThis class provide the definition of a property of a Global Baking parameter
- Members
mIdentifier (
ConverterParamEnum): identifier of the propertymQtVariant (
QtVariant): value of the property (type + value)