Esempio n. 1
0
 def __init__(self, effectName, phaseIdx, materialAttribute, primary = False):
     self.effectName = effectName
     self.phaseIdx = phaseIdx
     self.materialAttribute = materialAttribute
     if primary:
         from PostProcessing import chainListeners
         chainListeners.append(self.onSetChain)
Esempio n. 2
0
 def __init__(self, effectName, phaseIdx, materialAttribute, primary = False):
     self.effectName = effectName
     self.phaseIdx = phaseIdx
     self.materialAttribute = materialAttribute
     if primary:
         from PostProcessing import chainListeners
         chainListeners.append(self.onSetChain)
Esempio n. 3
0
 def __init__(self, component):
     self.component = component
     f = GUI.Frame2('gui/maps/tooltip_frame.dds')
     f.widthMode = 'CLIP'
     f.heightMode = 'CLIP'
     f.horizontalPositionMode = 'CLIP'
     f.verticalPositionMode = 'CLIP'
     f.position = (0, 0, 0.1)
     f.size = (2, 2)
     self.component.frame = f
     self.mmSpeed = 2.0
     self.setupScrolling()
     from PostProcessing import chainListeners
     chainListeners.append(self.onChainChanged)
Esempio n. 4
0
 def __init__(self, component):
     self.component = component
     f = GUI.Frame2('gui/maps/tooltip_frame.dds')
     f.widthMode = 'CLIP'
     f.heightMode = 'CLIP'
     f.horizontalPositionMode = 'CLIP'
     f.verticalPositionMode = 'CLIP'
     f.position = (0, 0, 0.1)
     f.size = (2, 2)
     self.component.frame = f
     self.mmSpeed = 2.0
     self.setupScrolling()
     from PostProcessing import chainListeners
     chainListeners.append(self.onChainChanged)
Esempio n. 5
0
 def __init__(self, effectName, primary = False):
     self.effectName = effectName
     if primary:
         from PostProcessing import chainListeners
         chainListeners.append(self.onSetChain)
Esempio n. 6
0
 def __init__(self, effectName, primary = False):
     self.effectName = effectName
     if primary:
         from PostProcessing import chainListeners
         chainListeners.append(self.onSetChain)