[This is preliminary documentation and is subject to change.]

Sets a floating point attribute for the current instance.

Syntax

C#
public void SetFloat(
	Attributes attribute,
	float value
)
Visual Basic (Declaration)
Public Sub SetFloat ( _
	attribute As Attributes, _
	value As Single _
)

Parameters

attribute
Type: AW..::.Attributes
The attribute to be set.
value
Type: System..::.Single
The value of the attribute being set.

Exceptions

ExceptionCondition
AW..::.InstanceExceptionThrown when the instance failed to set the attribute.
AW..::.InstanceExceptionThrown when the instance cannot be set properly. (i.e. the instance has been destroyed or is not valid).

See Also