Class EffectManagerEventArgs
Event arguments that are passed from an Effect to the Fusee.Engine.Core.EffectManager.
Inheritance
System.Object
System.EventArgs
EffectManagerEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core.Effects
Assembly: Fusee.Engine.Core.dll
Syntax
public class EffectManagerEventArgs : EventArgs
Constructors
EffectManagerEventArgs(UniformChangedEnum, Int32)
Creates a new instance of type "EffectManagerEventArgs".
Declaration
public EffectManagerEventArgs(UniformChangedEnum changed, int changedHash = 0)
Parameters
Type | Name | Description |
---|---|---|
UniformChangedEnum | changed | The UniformChangedEnum. |
System.Int32 | changedHash | The hash code of the uniform variable. |
Properties
Changed
Determines the action that needs to be taken for a uniform variable.
Declaration
public UniformChangedEnum Changed { get; set; }
Property Value
Type | Description |
---|---|
UniformChangedEnum |
ChangedUniformHash
The name of the uniform variable.
Declaration
public int ChangedUniformHash { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |