|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| void | SetbCaptureFixedNumberOfFrames (bool Value) |
| When enabled we capture NumFrames number of frames, otherwise the capture will continue until cancelled or the simulation is complete. | |
| bool | GetbAppendToSimCache () const |
| When enabled we will append to the existing simulation cache rather than destroying the existing contents. | |
| void | SetbAppendToSimCache (bool Value) |
| When enabled we will append to the existing simulation cache rather than destroying the existing contents. | |
| bool | GetbCaptureFixedNumberOfFrames () const |
| When enabled we capture NumFrames number of frames, otherwise the capture will continue until cancelled or the simulation is complete. | |
| FNiagaraSimCacheCaptureParameters & | opAssign (FNiagaraSimCacheCaptureParameters Other) |
| bool | GetbUseTimeout () const |
| When enabled the capture will time out if we reach the defined number of frames without anything new to capture. | |
| void | SetbUseTimeout (bool Value) |
| When enabled the capture will time out if we reach the defined number of frames without anything new to capture. | |
| bool | GetbCaptureAllFramesImmediatly () const |
| When enabled we will capture all the requested frames immediatly. This will capture the simulation outside of the main work tick, i.e. if you request a 10 frame capture we will loop capturing 10 frames on the capture call rather than over 10 world ticks. | |
| void | SetbCaptureAllFramesImmediatly (bool Value) |
| When enabled we will capture all the requested frames immediatly. This will capture the simulation outside of the main work tick, i.e. if you request a 10 frame capture we will loop capturing 10 frames on the capture call rather than over 10 world ticks. | |
Public Attributes | |
SimCache | |
| int | CaptureRate |
| Allows for reducing the frequency of captured frames in relation to the simulation's frames. The ratio is 1 / CaptureRate, so a CaptureRate of 2 would captures frames 0, 2, 4, etc. | |
| int | TimeoutFrameCount |
| When we fail to capture a new frame after this many frames the capture will complete automatically. | |
| float32 | ImmediateCaptureDeltaTime |
| The delta time in seconds to use when manually advancing the simulation.Defaults to 1 / 60th of a second(0.01666). | |
| int | NumFrames |
| The max number of frames to capture. The capture will stop when the simulation completes or we have rendered this many frames, whichever happens first. Set to 0 to capture until simulation completes. | |
Variables | |
| bool | bCaptureFixedNumberOfFrames |
| bool | bUseTimeout |
| bool | bCaptureAllFramesImmediatly |
| bool | bAppendToSimCache |
| bool GetbAppendToSimCache | ( | ) | const |
When enabled we will append to the existing simulation cache rather than destroying the existing contents.
| bool GetbCaptureAllFramesImmediatly | ( | ) | const |
When enabled we will capture all the requested frames immediatly. This will capture the simulation outside of the main work tick, i.e. if you request a 10 frame capture we will loop capturing 10 frames on the capture call rather than over 10 world ticks.
| bool GetbCaptureFixedNumberOfFrames | ( | ) | const |
When enabled we capture NumFrames number of frames, otherwise the capture will continue until cancelled or the simulation is complete.
| bool GetbUseTimeout | ( | ) | const |
When enabled the capture will time out if we reach the defined number of frames without anything new to capture.
| FNiagaraSimCacheCaptureParameters & opAssign | ( | FNiagaraSimCacheCaptureParameters | Other | ) |
| void SetbAppendToSimCache | ( | bool | Value | ) |
When enabled we will append to the existing simulation cache rather than destroying the existing contents.
| void SetbCaptureAllFramesImmediatly | ( | bool | Value | ) |
When enabled we will capture all the requested frames immediatly. This will capture the simulation outside of the main work tick, i.e. if you request a 10 frame capture we will loop capturing 10 frames on the capture call rather than over 10 world ticks.
| void SetbCaptureFixedNumberOfFrames | ( | bool | Value | ) |
When enabled we capture NumFrames number of frames, otherwise the capture will continue until cancelled or the simulation is complete.
| void SetbUseTimeout | ( | bool | Value | ) |
When enabled the capture will time out if we reach the defined number of frames without anything new to capture.
| bool bAppendToSimCache |
| bool bCaptureAllFramesImmediatly |
| bool bCaptureFixedNumberOfFrames |
| bool bUseTimeout |
| int CaptureRate |
Allows for reducing the frequency of captured frames in relation to the simulation's frames. The ratio is 1 / CaptureRate, so a CaptureRate of 2 would captures frames 0, 2, 4, etc.
| float32 ImmediateCaptureDeltaTime |
The delta time in seconds to use when manually advancing the simulation.Defaults to 1 / 60th of a second(0.01666).
| int NumFrames |
The max number of frames to capture. The capture will stop when the simulation completes or we have rendered this many frames, whichever happens first. Set to 0 to capture until simulation completes.
| int TimeoutFrameCount |
When we fail to capture a new frame after this many frames the capture will complete automatically.