v_sim.GlExtSurfaces¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
use inverse colour for inside |
||
r/w |
If set, all surfaces are scaled to fit this box. |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
This signal is emitted each time a surface is added to the set. |
|
This signal is emitted each time a surface is removed from the set. |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class v_sim.GlExtSurfaces(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque structure.
New in version 3.7.
- classmethod new(name)¶
- Parameters:
name (
strorNone) – the name to give to the extension (default isv_sim.GL_EXT_SURFACES_ID).- Returns:
a pointer to the
v_sim.GlExtit created orNoneotherwise.- Return type:
Creates a new
v_sim.GlExtto draw surfaces.New in version 3.7.
- add(surf)¶
- Parameters:
surf (
v_sim.Surface) – av_sim.Surfaceobject.- Returns:
Falseif surf was already registered.- Return type:
Add a new surface to the list of drawn surfaces.
New in version 3.7.
- getDrawIntra()¶
-
Retrieve if the interiors of surfaces are drawn with a colour inverse or not.
- remove(surf)¶
- Parameters:
surf (
v_sim.Surface) – av_sim.Surfaceobject.- Returns:
Trueif surf was part of the drawn surfaces.- Return type:
Removes surf from the list of drawn surfaces.
New in version 3.7.
- removeAll()¶
Removes all surfaces from the list of drawn surfaces.
New in version 3.9.
- setDrawIntra(status)¶
-
Set if the interiors of surfaces are drawn with a colour inverse or not.
- setFittingBox(box)¶
- Parameters:
- Returns:
Trueif value is actually changed.- Return type:
Changes the box from which surfaces are scaled in.
New in version 3.8.
- setMask(mask)¶
- Parameters:
mask (
v_sim.PlaneSetorNone) – av_sim.PlaneSetobject.- Returns:
Trueif mask is changed.- Return type:
Attach mask to every surface of the set.
New in version 3.8.
- setOnObserveOrdering(inter)¶
- Parameters:
inter (
v_sim.InteractiveorNone) – av_sim.Interactiveobject.- Returns:
Trueif the status actually changed.- Return type:
Attach self to inter, so it can be rendered there.
New in version 3.7.
Signal Details¶
- v_sim.GlExtSurfaces.signals.added(gl_ext_surfaces, surface)¶
- Signal Name:
added- Flags:
- Parameters:
gl_ext_surfaces (
v_sim.GlExtSurfaces) – The object which received the signalsurface (
v_sim.Surface) – the addedv_sim.Surfaceobject.
This signal is emitted each time a surface is added to the set.
New in version 3.8.
- v_sim.GlExtSurfaces.signals.removed(gl_ext_surfaces, surface)¶
- Signal Name:
removed- Flags:
- Parameters:
gl_ext_surfaces (
v_sim.GlExtSurfaces) – The object which received the signalsurface (
v_sim.Surface) – the removedv_sim.Surfaceobject.
This signal is emitted each time a surface is removed from the set.
New in version 3.8.
Property Details¶
- v_sim.GlExtSurfaces.props.draw_intra¶
-
use inverse colour for inside