![]() |
ptvr
v0.1
A Python toolkit for creating VR experiments.
|
Public Member Functions | |
def | __init__ (self, position=np.array([0.0, 0.0, 0.0]), rotation=np.array([0.0, 0.0, 0.0]), scale=np.array([1.0, 1.0, 1.0])) |
def | to_json (self) |
Public Attributes | |
position | |
rotation | |
scale | |
The base class for a 3D visual object
def ptvr.stimuli.world.VisualObject.__init__ | ( | self, | |
position = np.array([0.0, 0.0, 0.0]) , |
|||
rotation = np.array([0.0, 0.0, 0.0]) , |
|||
scale = np.array([1.0, 1.0, 1.0]) |
|||
) |
def ptvr.stimuli.world.VisualObject.to_json | ( | self | ) |
ptvr.stimuli.world.VisualObject.position |
ptvr.stimuli.world.VisualObject.rotation |
ptvr.stimuli.world.VisualObject.scale |