Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
_SCOPE Structure
Syntax
C++
template < typename T = _GLOBALSCOPE > struct _SCOPE { };

Helper to retrieve a scope instance through a C++ type. The setup here is a little contrived to allow the scope parameters to the various macros to be empty. What makes this difficult is that T need not necessarily be a structured type.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!