ptvr  v0.1
A Python toolkit for creating VR experiments.
ptvr.stimuli.world.ResponseScene Class Reference
Inheritance diagram for ptvr.stimuli.world.ResponseScene:
ptvr.stimuli.world.Scene

Public Member Functions

def __init__ (self, id=-1, text="What is your response?", display=input.UserOptionDisplay())
 
def to_json (self)
 
- Public Member Functions inherited from ptvr.stimuli.world.Scene
def to_json (self)
 
def write (self, fp)
 

Public Attributes

 id
 
 text
 
 input
 

Detailed Description

An interface for creating a scene where user response is requested.

Constructor & Destructor Documentation

◆ __init__()

def ptvr.stimuli.world.ResponseScene.__init__ (   self,
  id = -1,
  text = "What is your response?",
  display = input.UserOptionDisplay() 
)

Member Function Documentation

◆ to_json()

def ptvr.stimuli.world.ResponseScene.to_json (   self)

Member Data Documentation

◆ id

ptvr.stimuli.world.ResponseScene.id

◆ input

ptvr.stimuli.world.ResponseScene.input

◆ text

ptvr.stimuli.world.ResponseScene.text

The documentation for this class was generated from the following file: