Skip to content

Instantly share code, notes, and snippets.

View brenttaylor's full-sized avatar

Ryan Brent Taylor brenttaylor

  • San Lorenzo, California
View GitHub Profile
@jamesu
jamesu / example_engineapi.cpp
Created September 25, 2012 08:46
Using the EngineAPI in Torque3D
// Note you will need to create a "getFunctionAddress" function in EngineFunctionInfo unless you use
// getProcAddress() & getBindingName() on the function exports.
void *getFunctionAddress() { return mAddress; }
//
// This example demonstrates the following:
// * calling "generateUUID" which is exported as a global function in the API.
// * constructing an instance of ColorI and setting its exposed fields.
//