vp_float

From Virtual Paradise Wiki
Revision as of 18:48, 12 December 2016 by Sleepy E (talk | contribs)
Jump to navigation Jump to search
Method call snippet vp_float(instance, attr);

Return the value of an floating point attribute.

Parameters

These are the parameters that this method requires:

Parameter Usage
VPInstance
instance
Pointer to the instance this method call is intended for
vp_float_attribute_t
attr
Attribute to return value of

Returns

float

Behavior

There is no special behavior for this method

Caveats

If an invalid value is passed for attr, then 0.0 will be returned.

Examples

This method has no usage examples; please add at least one to this page

See also