Exemplo n.º 1
0
            internal static _AddDynamicObject AddDynamicObject()
            {
                if (_AddDynamicObjectFunc == null)
                {
                    _AddDynamicObjectFunc =
                        (_AddDynamicObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnScene_addDynamicObject"), typeof(_AddDynamicObject));
                }

                return(_AddDynamicObjectFunc);
            }
Exemplo n.º 2
0
            internal static _AddDynamicObject AddDynamicObject()
            {
                if (_AddDynamicObjectFunc == null)
                {
                    _AddDynamicObjectFunc =
                        (_AddDynamicObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnScene_addDynamicObject"), typeof(_AddDynamicObject));
                }

                return(_AddDynamicObjectFunc);
            }