C# Class FlatRedBall.Graphics.EffectContainer

A container for an effect that maintains variable values
Mostra file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
EffectContainer ( String effectPath ) : System

Creates an effect container

EffectContainer ( String effectPath, String contentManagerName ) : System

Creates an effect container

EffectContainer ( System.Windows.Media.Effects.Effect effect ) : System

Creates an effect container

SetParameterValues ( ) : void

Sets all the parameters in addition to the ones in the effect itself.

Method Details

EffectContainer() public method

Creates an effect container
public EffectContainer ( String effectPath ) : System
effectPath String The path to the effect file to use in this container
return System

EffectContainer() public method

Creates an effect container
public EffectContainer ( String effectPath, String contentManagerName ) : System
effectPath String The path to the effect file to use in this container
contentManagerName String The name of the content manager to use to load this effect
return System

EffectContainer() public method

Creates an effect container
public EffectContainer ( System.Windows.Media.Effects.Effect effect ) : System
effect System.Windows.Media.Effects.Effect The effect to use in this container
return System

SetParameterValues() public method

Sets all the parameters in addition to the ones in the effect itself.
public SetParameterValues ( ) : void
return void