Skip to main content
Skip to main content

streamSharedI3DFile

streamSharedI3DFile

Description

Stream shared I3D file. Can call the callback in the same callstack when the file is already loaded

Definition

streamSharedI3DFile(string filename, string? callbackFunctionName, object? callbackTarget, object? arguments, boolean? addPhysics, boolean? callOnCreate, boolean? verbose)

Arguments

stringfilenamefilename
string?callbackFunctionNamecallback(nodeId, LoadI3DFailedReason.* failedReason, arguments) [optional]
object?callbackTargettarget [optional]
object?argumentsarguments to return in callback function [optional]
boolean?addPhysicsaddPhysics [optional]
boolean?callOnCreatecallOnCreate [optional]
boolean?verboseverbose [optional]

Return Values

integerrequestIdrequest id for streaming, used to cancel the stream request