|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| bool | CanAnimateToPrevPage () const |
| void | AnimateOpenBook () |
| triggers the paging animation | |
| void | AnimatePageTo (bool _NextPage) |
| triggers the paging animation | |
| void | AnimateToNextPage () |
| void | AnimateToPreviousPage () |
| void | BP_AnimateCloseBook () |
| triggers the paging animation | |
| void | BP_AnimateOpenBook () |
| triggers the paging animation | |
| void | TestNextPage () |
| Prototype test TODO: #jfm: move that to UHUDAnimatedBookUIController? TODO: #jfm: add support for "previous page" animation. | |
| void | TestPreviousPage () |
| void | CallRebuildWidget (UUserWidget _PageWidget) |
| bool | CanAnimateToNextPage () const |
| void | AnimateCloseBook () |
| triggers the paging animation | |
| UUserWidget | CreateWidget (TSubclassOf< UUserWidget > _WidgetClass) |
| helper function for creating widgets | |
| void | EnsureWidgetSet (EBookCapturePage _Page, UUserWidget _Widget, bool _RequireInit) |
| will assign the widget to the page and ensure the render target is up to date | |
| EBookCaptureAnimState | GetAnimState () const |
| Returns the current animation state. | |
| void | OnBookWidgetClosed () |
| void | OnBookWidgetConstructed () |
| void | SetInitialPages (UUserWidget _WidgetCover) |
| setter for the widget assiciated with a page | |
| void | SetPageWidgets (EBookCapturePage _Page, UUserWidget _PageWidget) |
| void | SetTintColor (FLinearColor _Color) |
| sets the tint color for the book | |
Static Public Member Functions | |
Static Functions | |
| static ABookCaptureActor | Spawn (FVector Location=FVector ::ZeroVector, FRotator Rotation=FRotator ::ZeroRotator, FName Name=NAME_None, ULevel Level=nullptr) |
| static UClass | StaticClass () |
| void AnimateCloseBook | ( | ) |
triggers the paging animation
| void AnimateOpenBook | ( | ) |
triggers the paging animation
| void AnimatePageTo | ( | bool | _NextPage | ) |
triggers the paging animation
| void AnimateToNextPage | ( | ) |
| void AnimateToPreviousPage | ( | ) |
| void BP_AnimateCloseBook | ( | ) |
triggers the paging animation
| void BP_AnimateOpenBook | ( | ) |
triggers the paging animation
| void CallRebuildWidget | ( | UUserWidget | _PageWidget | ) |
| bool CanAnimateToNextPage | ( | ) | const |
| bool CanAnimateToPrevPage | ( | ) | const |
| UUserWidget CreateWidget | ( | TSubclassOf< UUserWidget > | _WidgetClass | ) |
helper function for creating widgets
| void EnsureWidgetSet | ( | EBookCapturePage | _Page, |
| UUserWidget | _Widget, | ||
| bool | _RequireInit ) |
will assign the widget to the page and ensure the render target is up to date
| EBookCaptureAnimState GetAnimState | ( | ) | const |
Returns the current animation state.
| void OnBookWidgetClosed | ( | ) |
| void OnBookWidgetConstructed | ( | ) |
| void SetInitialPages | ( | UUserWidget | _WidgetCover | ) |
setter for the widget assiciated with a page
| void SetPageWidgets | ( | EBookCapturePage | _Page, |
| UUserWidget | _PageWidget ) |
| void SetTintColor | ( | FLinearColor | _Color | ) |
sets the tint color for the book
|
static |
|
static |
| void TestNextPage | ( | ) |
Prototype test TODO: #jfm: move that to UHUDAnimatedBookUIController? TODO: #jfm: add support for "previous page" animation.
| void TestPreviousPage | ( | ) |
| const EBookCaptureAnimState AnimState |
Returns the current animation state.
| UAnimSequence m_Animation_CloseBook |
| UAnimSequence m_Animation_NextPage |
| UAnimSequence m_Animation_OpenBook |
# put into enum?
| UAnimSequence m_Animation_PrevPage |
| FName m_BaseTextureName |
which property defines the base texture for the book
| UTexture m_BaseTextureOverride |
which property defines the base texture for the book
| UUserWidget m_BlankPageWidget |
| UUserWidget m_BookCoverWidget |
| UMaterialInterface m_BookMaterialTemplate |
which material to use
| USkeletalMeshComponent m_BookMeshComponent |
| UDocument m_CurrentDocument |
| int m_CurrentLeftPage |
| int m_CurrentPageFlip |
| int m_CurrentRightPage |
| UTextureRenderTarget2D m_FinalRenderTarget |
| UUserWidget m_LeftPageWidget |
| int m_MaxNumPageFlips |
| int m_NumPages |
| FOnBookInitialized m_OnBookInitialized |
| FOnPageFlipped m_OnPageFlipped |
| TMap<int,FPageContent> m_OrderedPages |
| TMap<EBookCapturePage,FName> m_PageMaterialParamNames |
| TArray<TObjectPtr<UUserWidget> > m_PageWidgets |
| int m_RenderTargetSize_PageX |
resolution of our render targets
| int m_RenderTargetSize_PageY |
| UUserWidget m_RightPageWidget |
| FName m_TintColorParam |
which property to update for the tint color