v_sim.DumpScene¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class v_sim.DumpScene(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Common name to refer to a #_VisuDumpScene.
- getAlphaStatus()¶
-
Retrieve if self use alpha channel or not.
- write(fileName, scene, width, height, functionWait, *data)¶
- Parameters:
fileName (
str) – a string that defined the file to write to ;scene (
v_sim.GlNodeScene) – thev_sim.GlNodeSceneto be exported.width (
int) – an integer ;height (
int) – an integer ;functionWait (
v_sim.VoidDataFuncorNone) – a method to call periodically during the dump ;data (
objectorNone) – some pointer on object to be passed to the wait function.
- Raises:
- Returns:
Trueif dump succeed.- Return type:
Use the write function of self to export the scene to file fileName.
New in version 3.6.