|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Functions | |
Input|AnalogEvent | |
| EUINavigation | Key_GetNavigationDirectionFromAnalog (FAnalogInputEvent InAnalogEvent) |
| Returns the navigation action corresponding to this key, or Invalid if not found. | |
Input|InputEvent | |
| bool | InputEvent_IsCommandDown (FInputEvent Input) |
| Returns true if either command key was down when this event occurred. | |
| bool | InputEvent_IsControlDown (FInputEvent Input) |
| Returns true if either control key was down when this event occurred. | |
| float32 | GetAnalogValue (FAnalogInputEvent Input) |
| bool | InputEvent_IsLeftAltDown (FInputEvent Input) |
| Returns true if left alt key was down when this event occurred. | |
| bool | InputEvent_IsShiftDown (FInputEvent Input) |
| Returns true if either shift key was down when this event occurred. | |
| bool | InputEvent_IsRightShiftDown (FInputEvent Input) |
| Returns true if right shift key was down when this event occurred. | |
| bool | InputEvent_IsLeftCommandDown (FInputEvent Input) |
| Returns true if left command key was down when this event occurred. | |
| bool | InputEvent_IsAltDown (FInputEvent Input) |
| Returns true if either alt key was down when this event occurred. | |
| bool | InputEvent_IsRightControlDown (FInputEvent Input) |
| Returns true if left control key was down when this event occurred. | |
| bool | InputEvent_IsRightAltDown (FInputEvent Input) |
| Returns true if right alt key was down when this event occurred. | |
| bool | InputEvent_IsRepeat (FInputEvent Input) |
| Returns whether or not this character is an auto-repeated keystroke. | |
| bool | InputEvent_IsLeftControlDown (FInputEvent Input) |
| Returns true if left control key was down when this event occurred. | |
| bool | InputEvent_IsLeftShiftDown (FInputEvent Input) |
| Returns true if left shift key was down when this event occurred. | |
| bool | InputEvent_IsRightCommandDown (FInputEvent Input) |
| Returns true if right command key was down when this event occurred. | |
Input|Key | |
| FText | InputChord_GetDisplayName (FInputChord Key) |
| bool | EqualEqual_InputChordInputChord (FInputChord A, FInputChord B) |
| Test if the input chords are equal (A == B). | |
| bool | EqualEqual_KeyKey (FKey A, FKey B) |
| Test if the input key are equal (A == B). | |
| bool | Key_IsAxis1D (FKey Key) |
| Returns true if the key is a 1D (float) axis. | |
| bool | Key_IsValid (FKey Key) |
| Returns true if this is a valid key. | |
| bool | Key_IsVectorAxis (FKey Key) |
| Returns true if the key is a vector axis Note: Deprecated. Use Is Axis 2D/3D instead. | |
| FText | Key_GetDisplayName (FKey Key, bool bLongDisplayName=true) |
| Returns the display name of the key. | |
| EUINavigationAction | Key_GetNavigationAction (FKey InKey) |
| bool | Key_IsAxis3D (FKey Key) |
| Returns true if the key is a 3D (vector) axis. | |
| bool | Key_IsButtonAxis (FKey Key) |
| Returns true if the key is a 1D axis emulating a digital button press. | |
| bool | Key_IsKeyboardKey (FKey Key) |
| Returns true if the key is a keyboard button. | |
| bool | Key_IsModifierKey (FKey Key) |
| Returns true if the key is a modifier key: Ctrl, Command, Alt, Shift. | |
| bool | Key_IsAxis2D (FKey Key) |
| Returns true if the key is a 2D (vector) axis. | |
| bool | Key_IsAnalog (FKey Key) |
| Returns true if the key is an analog axis. | |
| bool | Key_IsMouseButton (FKey Key) |
| Returns true if the key is a mouse button. | |
| bool | Key_IsDigital (FKey Key) |
| Returns true if the key is a digital button press. | |
| bool | Key_IsGamepadKey (FKey Key) |
| Returns true if the key is a gamepad button. | |
Input|KeyEvent | |
| int | GetUserIndex (FKeyEvent Input) |
| EUINavigation | Key_GetNavigationDirectionFromKey (FKeyEvent InKeyEvent) |
| Returns the navigation action corresponding to this key, or Invalid if not found. | |
| EUINavigationAction | Key_GetNavigationActionFromKey (FKeyEvent InKeyEvent) |
| Returns the navigation action corresponding to this key, or Invalid if not found. | |
| FKey | GetKey (FKeyEvent Input) |
| Returns the key for this event. | |
Input|ModifierKeys | |
| bool | ModifierKeysState_IsAltDown (FSlateModifierKeysState KeysState) |
| Returns true if either alt key was down when the key state was captured. | |
| FSlateModifierKeysState | GetModifierKeysState () |
| Returns a snapshot of the cached modifier-keys state for the application. | |
| bool | ModifierKeysState_IsCommandDown (FSlateModifierKeysState KeysState) |
| Returns true if either command key was down when the key state was captured. | |
| bool | ModifierKeysState_IsControlDown (FSlateModifierKeysState KeysState) |
| Returns true if either control key was down when the key state was captured. | |
| bool | ModifierKeysState_IsShiftDown (FSlateModifierKeysState KeysState) |
| Returns true if either shift key was down when the key state was captured. | |
Input|MotionTracking | |
| void | CalibrateTilt () |
| Calibrate the tilt for the input device. | |
Input|PointerEvent | |
| FKey | PointerEvent_GetEffectingButton (FPointerEvent Input) |
| Mouse button that caused this event to be raised (possibly FKey::Invalid). | |
| FVector2D | PointerEvent_GetGestureDelta (FPointerEvent Input) |
| Returns the change in gesture value since the last gesture event of the same type. | |
| ESlateGesture | PointerEvent_GetGestureType (FPointerEvent Input) |
| Returns the type of touch gesture. | |
| FVector2D | PointerEvent_GetCursorDelta (FPointerEvent Input) |
| Returns the distance the mouse traveled since the last event was handled. | |
| FVector2D | PointerEvent_GetLastScreenSpacePosition (FPointerEvent Input) |
| Returns the position of the cursor in screen space last time we handled an input event. | |
| int | PointerEvent_GetPointerIndex (FPointerEvent Input) |
| Returns the unique identifier of the pointer (e.g., finger index). | |
| FVector2D | PointerEvent_GetScreenSpacePosition (FPointerEvent Input) |
| Returns The position of the cursor in screen space. | |
| int | PointerEvent_GetTouchpadIndex (FPointerEvent Input) |
| Returns the index of the touch pad that generated this event (for platforms with multiple touch pads per user). | |
| int | PointerEvent_GetUserIndex (FPointerEvent Input) |
| Returns the index of the user that caused the event. | |
| float32 | PointerEvent_GetWheelDelta (FPointerEvent Input) |
| How much did the mouse wheel turn since the last mouse event. | |
| bool | PointerEvent_IsMouseButtonDown (FPointerEvent Input, FKey MouseButton) |
| Mouse buttons that are currently pressed. | |
| bool | PointerEvent_IsTouchEvent (FPointerEvent Input) |
| Returns true if this event a result from a touch (as opposed to a mouse). | |
Variables | |
Variables | |
| const FSlateModifierKeysState | ModifierKeysState |
| void CalibrateTilt | ( | ) |
Calibrate the tilt for the input device.
| bool EqualEqual_InputChordInputChord | ( | FInputChord | A, |
| FInputChord | B ) |
| float32 GetAnalogValue | ( | FAnalogInputEvent | Input | ) |
| FKey GetKey | ( | FKeyEvent | Input | ) |
Returns the key for this event.
| FSlateModifierKeysState GetModifierKeysState | ( | ) |
Returns a snapshot of the cached modifier-keys state for the application.
| int GetUserIndex | ( | FKeyEvent | Input | ) |
| FText InputChord_GetDisplayName | ( | FInputChord | Key | ) |
| bool InputEvent_IsAltDown | ( | FInputEvent | Input | ) |
Returns true if either alt key was down when this event occurred.
| bool InputEvent_IsCommandDown | ( | FInputEvent | Input | ) |
Returns true if either command key was down when this event occurred.
| bool InputEvent_IsControlDown | ( | FInputEvent | Input | ) |
Returns true if either control key was down when this event occurred.
| bool InputEvent_IsLeftAltDown | ( | FInputEvent | Input | ) |
Returns true if left alt key was down when this event occurred.
| bool InputEvent_IsLeftCommandDown | ( | FInputEvent | Input | ) |
Returns true if left command key was down when this event occurred.
| bool InputEvent_IsLeftControlDown | ( | FInputEvent | Input | ) |
Returns true if left control key was down when this event occurred.
| bool InputEvent_IsLeftShiftDown | ( | FInputEvent | Input | ) |
Returns true if left shift key was down when this event occurred.
| bool InputEvent_IsRepeat | ( | FInputEvent | Input | ) |
Returns whether or not this character is an auto-repeated keystroke.
| bool InputEvent_IsRightAltDown | ( | FInputEvent | Input | ) |
Returns true if right alt key was down when this event occurred.
| bool InputEvent_IsRightCommandDown | ( | FInputEvent | Input | ) |
Returns true if right command key was down when this event occurred.
| bool InputEvent_IsRightControlDown | ( | FInputEvent | Input | ) |
Returns true if left control key was down when this event occurred.
| bool InputEvent_IsRightShiftDown | ( | FInputEvent | Input | ) |
Returns true if right shift key was down when this event occurred.
| bool InputEvent_IsShiftDown | ( | FInputEvent | Input | ) |
Returns true if either shift key was down when this event occurred.
Returns the display name of the key.
| EUINavigationAction Key_GetNavigationAction | ( | FKey | InKey | ) |
| EUINavigationAction Key_GetNavigationActionFromKey | ( | FKeyEvent | InKeyEvent | ) |
Returns the navigation action corresponding to this key, or Invalid if not found.
| EUINavigation Key_GetNavigationDirectionFromAnalog | ( | FAnalogInputEvent | InAnalogEvent | ) |
Returns the navigation action corresponding to this key, or Invalid if not found.
| EUINavigation Key_GetNavigationDirectionFromKey | ( | FKeyEvent | InKeyEvent | ) |
Returns the navigation action corresponding to this key, or Invalid if not found.
| bool Key_IsAnalog | ( | FKey | Key | ) |
Returns true if the key is an analog axis.
| bool Key_IsAxis1D | ( | FKey | Key | ) |
Returns true if the key is a 1D (float) axis.
| bool Key_IsAxis2D | ( | FKey | Key | ) |
Returns true if the key is a 2D (vector) axis.
| bool Key_IsAxis3D | ( | FKey | Key | ) |
Returns true if the key is a 3D (vector) axis.
| bool Key_IsButtonAxis | ( | FKey | Key | ) |
Returns true if the key is a 1D axis emulating a digital button press.
| bool Key_IsDigital | ( | FKey | Key | ) |
Returns true if the key is a digital button press.
| bool Key_IsGamepadKey | ( | FKey | Key | ) |
Returns true if the key is a gamepad button.
| bool Key_IsKeyboardKey | ( | FKey | Key | ) |
Returns true if the key is a keyboard button.
| bool Key_IsModifierKey | ( | FKey | Key | ) |
Returns true if the key is a modifier key: Ctrl, Command, Alt, Shift.
| bool Key_IsMouseButton | ( | FKey | Key | ) |
Returns true if the key is a mouse button.
| bool Key_IsValid | ( | FKey | Key | ) |
Returns true if this is a valid key.
| bool Key_IsVectorAxis | ( | FKey | Key | ) |
Returns true if the key is a vector axis Note: Deprecated. Use Is Axis 2D/3D instead.
| bool ModifierKeysState_IsAltDown | ( | FSlateModifierKeysState | KeysState | ) |
Returns true if either alt key was down when the key state was captured.
| bool ModifierKeysState_IsCommandDown | ( | FSlateModifierKeysState | KeysState | ) |
Returns true if either command key was down when the key state was captured.
| bool ModifierKeysState_IsControlDown | ( | FSlateModifierKeysState | KeysState | ) |
Returns true if either control key was down when the key state was captured.
| bool ModifierKeysState_IsShiftDown | ( | FSlateModifierKeysState | KeysState | ) |
Returns true if either shift key was down when the key state was captured.
| FVector2D PointerEvent_GetCursorDelta | ( | FPointerEvent | Input | ) |
Returns the distance the mouse traveled since the last event was handled.
| FKey PointerEvent_GetEffectingButton | ( | FPointerEvent | Input | ) |
Mouse button that caused this event to be raised (possibly FKey::Invalid).
| FVector2D PointerEvent_GetGestureDelta | ( | FPointerEvent | Input | ) |
Returns the change in gesture value since the last gesture event of the same type.
| ESlateGesture PointerEvent_GetGestureType | ( | FPointerEvent | Input | ) |
Returns the type of touch gesture.
| FVector2D PointerEvent_GetLastScreenSpacePosition | ( | FPointerEvent | Input | ) |
Returns the position of the cursor in screen space last time we handled an input event.
| int PointerEvent_GetPointerIndex | ( | FPointerEvent | Input | ) |
Returns the unique identifier of the pointer (e.g., finger index).
| FVector2D PointerEvent_GetScreenSpacePosition | ( | FPointerEvent | Input | ) |
Returns The position of the cursor in screen space.
| int PointerEvent_GetTouchpadIndex | ( | FPointerEvent | Input | ) |
Returns the index of the touch pad that generated this event (for platforms with multiple touch pads per user).
| int PointerEvent_GetUserIndex | ( | FPointerEvent | Input | ) |
Returns the index of the user that caused the event.
| float32 PointerEvent_GetWheelDelta | ( | FPointerEvent | Input | ) |
How much did the mouse wheel turn since the last mouse event.
| bool PointerEvent_IsMouseButtonDown | ( | FPointerEvent | Input, |
| FKey | MouseButton ) |
Mouse buttons that are currently pressed.
| bool PointerEvent_IsTouchEvent | ( | FPointerEvent | Input | ) |
Returns true if this event a result from a touch (as opposed to a mouse).
| const FSlateModifierKeysState ModifierKeysState |