C# Class EffectEditor.HelperClasses.EffectPropertyDescriptor

Inheritance: System.ComponentModel.PropertyDescriptor
显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
CanResetValue ( object component ) : bool
EffectPropertyDescriptor ( EffectParameter parameter, Attribute attributes ) : System
GetEditor ( Type editorBaseType ) : object
GetValue ( object component ) : object
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

Private Methods

Method Description
GetParameterType ( ) : Type

Method Details

CanResetValue() public method

public CanResetValue ( object component ) : bool
component object
return bool

EffectPropertyDescriptor() public method

public EffectPropertyDescriptor ( EffectParameter parameter, Attribute attributes ) : System
parameter Microsoft.Xna.Framework.Graphics.EffectParameter
attributes System.Attribute
return System

GetEditor() public method

public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
return object

GetValue() public method

public GetValue ( object component ) : object
component object
return object

ResetValue() public method

public ResetValue ( object component ) : void
component object
return void

SetValue() public method

public SetValue ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

public ShouldSerializeValue ( object component ) : bool
component object
return bool