Open Asterune
TerrainJob

TerrainJob

Tracks an asynchronous terrain-editing operation.

Behavior

TerrainJob tracks an asynchronous terrain-editing operation.

Summary

Members6
Properties3
Methods2
Events1
  • Completed: RBXScriptSignalread only

    Fires when the asynchronous operation finishes.

Properties

CellsChanged

TerrainJob.CellsChanged: number

The number of terrain cells changed by the operation.

Progress

TerrainJob.Progress: number

The fraction of the operation completed.

Status

TerrainJob.Status: Enum.TerrainJobStatus

The operation lifecycle state.

Methods

Cancel

TerrainJob:Cancel(): ()

Requests cancellation of the asynchronous operation.

Wait

TerrainJob:Wait(): Enum.TerrainJobStatus

Yields until the operation finishes and returns its final status.

Events

Completed

TerrainJob.Completed: RBXScriptSignal

Fires when the asynchronous operation finishes.

Operators

__index · __tostring · __type

Used by

Terrain