vrdOCSMaterial¶
-
class
vrdOCSMaterial
¶
(Inherits vrdBRDFMaterial
)
This class is used to handle all OCS material properties.
Summary¶
Functions¶
-
vrdOCSMaterial.
getAutomaticReload
()¶ Get the state of automatic reload approach.
Returns: Gets the state of use of automatic reload approach Return type: bool
-
vrdOCSMaterial.
getClearcoat
()¶ Gets access to all properties of vrdClearcoat.
Returns: An vrdClearcoat object, to read and write access of all properties. Return type: vrdClearcoat
-
vrdOCSMaterial.
getExposure
()¶ Get the current value for exposure.
Returns: The current value for exposure. Return type: float
-
vrdOCSMaterial.
getIncandescence
()¶ Gets access to all properties of vrdIncandescence.
Returns: An vrdIncandescence object, to read and write access of all properties. Return type: vrdIncandescence
-
vrdOCSMaterial.
getOCSBRDFFilename
()¶ Gets the BRDF file used.
Returns: The BRDF file used. Return type: string
-
vrdOCSMaterial.
setAutomaticReload
(value)¶ If enabled, VRED checks whether CI-Navigator has updated the currently loaded BRDF file. This is the case when the BRDF export from CI-Navigator overwrites the file. VRED detects this modification and reloads the file automatically. Only one OCS Material can be monitored at the same time.
Parameters: value (bool) – Allow or disable the automatic reload approach.
-
vrdOCSMaterial.
setExposure
(exposure)¶ Controls the intensity of the material colors. The default value 1.0 keeps colors unchanged.
Parameters: exposure (float) – The new used value for exposure.
-
vrdOCSMaterial.
setOCSBRDFFilename
(filename)¶ Loads a BRDF file with file type pbrdf.
Parameters: filename (string) – The BRDF file path.