Vp float: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Sleepy E (talk | contribs)
Basic layout
 
Sleepy E (talk | contribs)
mNo edit summary
Line 9: Line 9:
|examples=
|examples=
|seealso=
|seealso=
* {{sdk method|float_get}}
* {{sdk method|float_set}}
* {{sdk method|float_set}}
}}
}}

Revision as of 18:48, 12 December 2016

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