Class VolumeParameter<T>
Inheritance
System.Object
VolumeParameter<T>
Syntax
[Serializable]
public class VolumeParameter<T> : VolumeParameter, IEquatable<VolumeParameter<T>>
Type Parameters
Constructors
VolumeParameter()
Declaration
VolumeParameter(T, Boolean)
Declaration
protected VolumeParameter(T value, bool overrideState)
Parameters
Type |
Name |
Description |
T |
value |
|
System.Boolean |
overrideState |
|
Fields
k_DefaultInterpSwap
Declaration
protected const float k_DefaultInterpSwap = 0F
Field Value
Type |
Description |
System.Single |
|
m_Value
Declaration
Field Value
Properties
value
Declaration
public virtual T value { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Equals(VolumeParameter<T>)
Declaration
public bool Equals(VolumeParameter<T> other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Interp(T, T, Single)
Declaration
public virtual void Interp(T from, T to, float t)
Parameters
Type |
Name |
Description |
T |
from |
|
T |
to |
|
System.Single |
t |
|
Override(T)
Declaration
public void Override(T x)
Parameters
Type |
Name |
Description |
T |
x |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
Equality(VolumeParameter<T>, T)
Declaration
public static bool operator ==(VolumeParameter<T> lhs, T rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implicit(VolumeParameter<T> to T)
Declaration
public static implicit operator T(VolumeParameter<T> prop)
Parameters
Returns
Inequality(VolumeParameter<T>, T)
Declaration
public static bool operator !=(VolumeParameter<T> lhs, T rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|