Esempio n. 1
0
            internal static _GetSceneObject GetSceneObject()
            {
                if (_GetSceneObjectFunc == null)
                {
                    _GetSceneObjectFunc =
                        (_GetSceneObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVSceneObjectEvent_getSceneObject"), typeof(_GetSceneObject));
                }

                return(_GetSceneObjectFunc);
            }
Esempio n. 2
0
            internal static _GetSceneObject GetSceneObject()
            {
                if (_GetSceneObjectFunc == null)
                {
                    _GetSceneObjectFunc =
                        (_GetSceneObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVSceneObjectGroup_getSceneObject"), typeof(_GetSceneObject));
                }

                return(_GetSceneObjectFunc);
            }