![]() |
ptvr
v0.1
A Python toolkit for creating VR experiments.
|
Public Member Functions | |
def | __init__ (self, side=1, color=color.RGBColor(r=1.0), texture=diffuse_texture) |
def | __str__ (self) |
def | to_json (self) |
![]() | |
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 | |
side | |
color | |
texture | |
![]() | |
position | |
rotation | |
scale | |
A cube that can be placed in a visual scene.
def ptvr.stimuli.world.Cube.__init__ | ( | self, | |
side = 1 , |
|||
color = color.RGBColor(r=1.0) , |
|||
texture = diffuse_texture |
|||
) |
def ptvr.stimuli.world.Cube.__str__ | ( | self | ) |
def ptvr.stimuli.world.Cube.to_json | ( | self | ) |
ptvr.stimuli.world.Cube.color |
ptvr.stimuli.world.Cube.side |
ptvr.stimuli.world.Cube.texture |