v_sim.NodeMoverTranslation¶
- Subclasses:
None
Methods¶
- Inherited:
v_sim.NodeMover (6), GObject.Object (37), v_sim.Animatable (6)
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
value of translation. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
||
priv |
r |
Class Details¶
- class v_sim.NodeMoverTranslation(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque structure.
New in version 3.8.
- classmethod new()¶
- Returns:
a new
v_sim.NodeMoverTranslationobject.- Return type:
Creates a new
v_sim.NodeMoverTranslationobject.New in version 3.8.
- classmethod new_full(ids, trans)¶
- Parameters:
- Returns:
a new
v_sim.NodeMoverTranslationobject.- Return type:
Creates a new trans for nodes defined by ids.
New in version 3.8.
- add(delta)¶
- Parameters:
delta ([
float]) – a translation.- Returns:
Trueif translation is actually changed.- Return type:
Add delta to the current translation.
New in version 3.8.
- get()¶
- Returns:
a location for the translation.
- Return type:
delta: [
float]
Retrieves the current translation.
New in version 3.8.
- reset()¶
-
Helper function to sets the translation to [0;0;0].
New in version 3.8.