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