Example #1
0
            internal static _SetTurretEulerRotation SetTurretEulerRotation()
            {
                if (_SetTurretEulerRotationFunc == null)
                {
                    _SetTurretEulerRotationFunc =
                        (_SetTurretEulerRotation)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_setTurretEulerRotation"), typeof(_SetTurretEulerRotation));
                }

                return(_SetTurretEulerRotationFunc);
            }
Example #2
0
            internal static _SetTurretEulerRotation SetTurretEulerRotation()
            {
                if (_SetTurretEulerRotationFunc == null)
                {
                    _SetTurretEulerRotationFunc =
                        (_SetTurretEulerRotation)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_setTurretEulerRotation"), typeof(_SetTurretEulerRotation));
                }

                return(_SetTurretEulerRotationFunc);
            }