Rik's Treehouse > Babbling in Binary > My Software > Orphanware > R2DToo > R2DToo Help > For the Programmer > getApiVersion

getApiVersion

Declaration
Return Value
Remarks
Revisions
Example

Declaration

float __stdcall getApiVersion(void);
Top of page

Return Value

A number indicating the lowest API version the model is compatible with. Top of page

Remarks

This function is required by the API. It is called before the model is loaded in order to ensure that it is compatible with current API.
Top of page

Revisions

API v1.5
  • new! Replaces requiresAPI.
Top of page

Example

float __stdcall getApiVersion(void) { return 1.5; }
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:38pm