Example #1
0
            internal static _SetAllowManualRotation SetAllowManualRotation()
            {
                if (_SetAllowManualRotationFunc == null)
                {
                    _SetAllowManualRotationFunc =
                        (_SetAllowManualRotation)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_setAllowManualRotation"), typeof(_SetAllowManualRotation));
                }

                return(_SetAllowManualRotationFunc);
            }
Example #2
0
            internal static _SetAllowManualRotation SetAllowManualRotation()
            {
                if (_SetAllowManualRotationFunc == null)
                {
                    _SetAllowManualRotationFunc =
                        (_SetAllowManualRotation)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_setAllowManualRotation"), typeof(_SetAllowManualRotation));
                }

                return(_SetAllowManualRotationFunc);
            }