![]() |
ptvr
v0.1
A Python toolkit for creating VR experiments.
|
Public Member Functions | |
| def | __init__ (self, text='Your Text Here', bold=False, italic=False, font_size=64, font_color=color.RGBColor()) |
| def | to_json (self) |
Public Member Functions inherited from ptvr.stimuli.world.VisualObject | |
| 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 | |
| text | |
| bold | |
| italic | |
| font_size | |
| font_color | |
Public Attributes inherited from ptvr.stimuli.world.VisualObject | |
| position | |
| rotation | |
| scale | |
A textbox that can be placed in a visual scene.
| def ptvr.stimuli.world.TextBox.__init__ | ( | self, | |
text = 'Your Text Here', |
|||
bold = False, |
|||
italic = False, |
|||
font_size = 64, |
|||
font_color = color.RGBColor() |
|||
| ) |
| def ptvr.stimuli.world.TextBox.to_json | ( | self | ) |
| ptvr.stimuli.world.TextBox.bold |
| ptvr.stimuli.world.TextBox.font_color |
| ptvr.stimuli.world.TextBox.font_size |
| ptvr.stimuli.world.TextBox.italic |
| ptvr.stimuli.world.TextBox.text |