ptvr  v0.1
A Python toolkit for creating VR experiments.
ptvr.stimuli.texture.Texture Class Reference
Inheritance diagram for ptvr.stimuli.texture.Texture:

Public Member Functions

def __init__ (self, shader='diffuse', color=color.RGBColor(r=1.0), img='')
 
def to_json (self)
 

Public Attributes

 shader
 
 color
 
 img
 

Detailed Description

A Texture class has three members- one, a shader that defines

Constructor & Destructor Documentation

◆ __init__()

def ptvr.stimuli.texture.Texture.__init__ (   self,
  shader = 'diffuse',
  color = color.RGBColor(r=1.0),
  img = '' 
)

Member Function Documentation

◆ to_json()

def ptvr.stimuli.texture.Texture.to_json (   self)

Member Data Documentation

◆ color

ptvr.stimuli.texture.Texture.color

◆ img

ptvr.stimuli.texture.Texture.img

◆ shader

ptvr.stimuli.texture.Texture.shader

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