Files
src/miniquake2/runtime/visual_capture.ml
Provides miniquake2 runtime visual capture facilities for this project.
- Package
miniquake2.runtime.visual_capture- Reachable
- No
Imports
Declarations
# captureRetailScene
function captureRetailScene(baseDirectory, mapName, outputPath, width, height, renderedFrames, modelName, includeInlineBrushModels, cameraOrigin, cameraAngles, shadowsEnabled)
cameraOrigin/cameraAngles may be void to select the first info_player_start. Capture occurs before EndFrame's swap, after the final deterministic time.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | baseDirectory value consumed by this operation. |
mapName | dynamic | — | mapName value consumed by this operation. |
outputPath | dynamic | — | Path associated with output. |
width | dynamic | — | Width in the coordinate or storage units used by the caller. |
height | dynamic | — | Height in the coordinate or storage units used by the caller. |
renderedFrames | dynamic | — | renderedFrames value consumed by this operation. |
modelName | dynamic | — | modelName value consumed by this operation. |
includeInlineBrushModels | dynamic | — | includeInlineBrushModels value consumed by this operation. |
cameraOrigin | dynamic | — | cameraOrigin value consumed by this operation. |
cameraAngles | dynamic | — | cameraAngles value consumed by this operation. |
shadowsEnabled | dynamic | — | shadowsEnabled value consumed by this operation. |
View source
# retailCaptureDefaultCamera
function retailCaptureDefaultCamera(materialized)
Capture retail default camera.
| Parameter | Type | Default | Description |
|---|
materialized | dynamic | — | materialized value consumed by this operation. |
View source
# retailCaptureEndsWith
function retailCaptureEndsWith(value, suffix)
Capture retail ends with.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed or transformed by the operation. |
suffix | dynamic | — | suffix value consumed by this operation. |
View source
miniquake2.runtime.visual_capture.RetailCaptureFileImports struct
# retailCaptureFileSystemSlot
retailCaptureFileSystemSlot
Stores module-wide retail capture file system slot state for the miniquake2 runtime visual capture module.
View source
miniquake2.runtime.visual_capture.RetailCaptureFileSystemSlot struct
# retailCaptureInlineEntities
function retailCaptureInlineEntities(renderer, materialized, fileImports, output, count)
Capture retail inline entities.
| Parameter | Type | Default | Description |
|---|
renderer | dynamic | — | renderer value consumed by this operation. |
materialized | dynamic | — | materialized value consumed by this operation. |
fileImports | dynamic | — | fileImports value consumed by this operation. |
output | dynamic | — | Output collection or buffer populated by the operation. |
count | dynamic | — | Number of items or units to process. |
View source
# retailCaptureIsInlineModel
function retailCaptureIsInlineModel(name)
Report whether retail capture is inline model.
| Parameter | Type | Default | Description |
|---|
name | dynamic | — | Name of the affected item. |
View source
# retailCaptureLoadFile
function retailCaptureLoadFile(path)
Capture retail load file.
| Parameter | Type | Default | Description |
|---|
path | dynamic | — | Path of the file or directory used by the operation. |
View source
# retailCaptureMapPath
function retailCaptureMapPath(name)
Capture retail map path.
| Parameter | Type | Default | Description |
|---|
name | dynamic | — | Name of the affected item. |
View source
# retailCaptureMd2Entity
function retailCaptureMd2Entity(renderer, modelName, viewOrigin, viewAngles)
Capture retail md 2 entity.
| Parameter | Type | Default | Description |
|---|
renderer | dynamic | — | renderer value consumed by this operation. |
modelName | dynamic | — | modelName value consumed by this operation. |
viewOrigin | dynamic | — | viewOrigin value consumed by this operation. |
viewAngles | dynamic | — | viewAngles value consumed by this operation. |
View source
miniquake2.runtime.visual_capture.RetailCaptureResult struct