Class Float32Constant
A 32-bit floating point constant.
Implements
System.IEquatable<Constant>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.Constants
Assembly: Flame.dll
Syntax
public sealed class Float32Constant : Constant, IEquatable<Constant>
Constructors
| Improve this Doc View SourceFloat32Constant(Single)
Creates a constant from a value.
Declaration
public Float32Constant(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value | The constant value. |
Properties
| Improve this Doc View SourceValue
Gets the value represented by this constant.
Declaration
public float Value { get; }
Property Value
Type | Description |
---|---|
System.Single | The constant value. |
Methods
| Improve this Doc View SourceEquals(Constant)
Tests if this constant is equal to another constant.
Declaration
public override bool Equals(Constant other)
Parameters
Type | Name | Description |
---|---|---|
Constant | other | The other constant. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>