internal static _GetPoweredState GetPoweredState()
            {
                if (_GetPoweredStateFunc == null)
                {
                    _GetPoweredStateFunc =
                        (_GetPoweredState)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnStaticShape_getPoweredState"), typeof(_GetPoweredState));
                }

                return(_GetPoweredStateFunc);
            }
Exemple #2
0
            internal static _GetPoweredState GetPoweredState()
            {
                if (_GetPoweredStateFunc == null)
                {
                    _GetPoweredStateFunc =
                        (_GetPoweredState)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnStaticShape_getPoweredState"), typeof(_GetPoweredState));
                }

                return(_GetPoweredStateFunc);
            }