Skip to content

engineSetObjectStreamingLimits

Client-side

Available in Neon, not standard MTA

Redistributes MTA's fixed 1000-slot object streaming budget between normal and low-LOD objects.

Syntax

bool engineSetObjectStreamingLimits(int maxObjects, int maxLowLodObjects)

Arguments

maxObjectsint

Maximum normal streamed objects.

maxLowLodObjectsint

Maximum low-LOD streamed objects.

Returns

true when the split is valid; invalid values raise an argument error.

Ownership and lifecycle

Parsing creates inert data. Objects, custom models, material overrides, removals, and any temporary streaming-limit split remain owned by the calling client resource and must be cleaned up when that resource stops.

Important behavior
  • The combined limit cannot exceed 1000.
  • The default split remains 500/500.
  • Lowering a category below current usage restreams that category so the new quota takes effect.

OOP aliases

  • Engine.setObjectStreamingLimits(maxObjects, maxLowLodObjects)

Example

engineSetObjectStreamingLimits(1000, 0)

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →