v_sim.GlExtNodes¶
- Subclasses:
 None
Methods¶
- Inherited:
 v_sim.GlExt (16), GObject.Object (37), v_sim.NodeArrayRenderer (8)
- Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 v_sim.GlExt (3), GObject.Object (7), v_sim.NodeArrayRenderer (6)
Properties¶
- Inherited:
 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class v_sim.GlExtNodes(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
An opaque structure.
New in version 3.7.
- classmethod new()¶
 - Returns:
 a pointer to the
v_sim.GlExtit created orNoneotherwise.- Return type:
 
Creates a new
v_sim.GlExtto draw a set of nodes. It can be used also for picking, seev_sim.GlExtNodes.getSelection().New in version 3.7.
- getSelection(x, y)¶
 - Parameters:
 - Returns:
 -1 if no node found, or its id.
- Return type:
 
Get the id of a
v_sim.Nodeon top of the z-buffer.New in version 3.7.
- getSelectionByRegion(x1, y1, x2, y2)¶
 - Parameters:
 - Returns:
 an empty list if no node found, or a newly created list of ids if any.
- Return type:
 [
int]
Get the
v_sim.Nodeids in the picked region defined by (x1, y1) - (x2, y2).New in version 3.7.
- setMaterialEffect(effect)¶
 - Parameters:
 effect (
v_sim.ElementRendererEffects) – av_sim.ElementRendererEffectsid.- Returns:
 Trueif the effect has been changed.- Return type:
 
Changes the effect applied on the color used to render
v_sim.Element.New in version 3.7.