Share via


BaseEffect.GetValueFloat(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Retrieves a floating-point value.

Definition

Visual Basic Public Function GetValueFloat( _
    ByVal parameter As EffectHandle _
) As Single
C# public float GetValueFloat(
    EffectHandle parameter
);
C++ public:
float GetValueFloat(
    EffectHandleparameter
);
JScript public function GetValueFloat(
    parameter : EffectHandle
) : float;

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
Unique EffectHandle identifier.

Return Value

System.Single
A SingleLeave Site value.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler