![]() |
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 | 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 quad that can be placed in a visual scene. A quad has normals in only one direction and appears invisible from the opposite face
def ptvr.stimuli.world.Quad.__init__ | ( | self, | |
side = 1 , |
|||
color = color.RGBColor(r=1.0) , |
|||
texture = diffuse_texture |
|||
) |
def ptvr.stimuli.world.Quad.to_json | ( | self | ) |
ptvr.stimuli.world.Quad.color |
ptvr.stimuli.world.Quad.side |
ptvr.stimuli.world.Quad.texture |