Class ConstantValue
Inheritance
System.Object
ConstantValue
Assembly: Eco.Gameplay.dll
Syntax
public class ConstantValue : Object, IDynamicValue, IController, IViewController, IHasUniversalID
Constructors
ConstantValue(Single)
Declaration
public ConstantValue(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
Fields
Zero
Declaration
public static readonly ConstantValue Zero
Field Value
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
GetBaseValue
Declaration
public float GetBaseValue { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
GetCurrentValue(IDynamicValueContext, Object)
Declaration
public float GetCurrentValue(IDynamicValueContext context, object obj)
Parameters
Returns
Type |
Description |
System.Single |
|
GetCurrentValueInt(IDynamicValueContext, Object, Single)
Declaration
public int GetCurrentValueInt(IDynamicValueContext context, object obj, float multiplier = 1F)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Implements
Extension Methods