Eidolon
Public Member Functions | Public Attributes | Private Member Functions | List of all members
MaterialController Class Reference

Inherits object.

Collaboration diagram for MaterialController:
Collaboration graph

Public Member Functions

def __init__ (self, mgr, win)
 
def createMaterial (self, mat)
 
def addMaterial (self, mat)
 
def removeMaterial (self, mat)
 
def updatePropBox (self, mat, propbox)
 
def getScriptCode (self, mat, kwargs)
 

Public Attributes

 mgr
 
 win
 

Private Member Functions

def _chooseColor (self, origcolor, callback, mat, propbox)
 
def _chooseTexture (self, i, mat, propbox)
 
def _chooseGPUProgram (self, i, mat, listbox, ptype)
 
def _setSpectrum (self, mat, propbox)
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  mgr,
  win 
)

Member Function Documentation

◆ _chooseColor()

def _chooseColor (   self,
  origcolor,
  callback,
  mat,
  propbox 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _chooseGPUProgram()

def _chooseGPUProgram (   self,
  i,
  mat,
  listbox,
  ptype 
)
private
Here is the caller graph for this function:

◆ _chooseTexture()

def _chooseTexture (   self,
  i,
  mat,
  propbox 
)
private
Here is the caller graph for this function:

◆ _setSpectrum()

def _setSpectrum (   self,
  mat,
  propbox 
)
private
Here is the caller graph for this function:

◆ addMaterial()

def addMaterial (   self,
  mat 
)
Sets up the material property box and other operations for the new or cloned material. Executed in UI thread.
Here is the call graph for this function:

◆ createMaterial()

def createMaterial (   self,
  mat 
)
Accepts a Material object instance and has the opportunity to modify it or return a proxied version. The
default behaviour is to just return the same object.
Here is the caller graph for this function:

◆ getScriptCode()

def getScriptCode (   self,
  mat,
  kwargs 
)

◆ removeMaterial()

def removeMaterial (   self,
  mat 
)
Here is the caller graph for this function:

◆ updatePropBox()

def updatePropBox (   self,
  mat,
  propbox 
)
Here is the caller graph for this function:

Member Data Documentation

◆ mgr

mgr

◆ win

win

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