constructor Method

Overloads
constructorScriptReference(script)  
constructorScriptReference(sourceId, script)  
constructorScriptReference(sourceIdOrScript, scriptIfSourceId?)  

ScriptReference(script)

Create a reference to a RenderSchedule.ScriptReference.script with no RenderSchedule.ScriptReference.sourceId.

ScriptReference(script: RenderSchedule.Script): RenderSchedule.ScriptReference

Parameter Type Description
script RenderSchedule.Script  

Returns - RenderSchedule.ScriptReference



ScriptReference(sourceId, script)

Create a reference to a RenderSchedule.ScriptReference.script with the specified RenderSchedule.ScriptReference.sourceId.

ScriptReference(sourceId: string, script: RenderSchedule.Script): RenderSchedule.ScriptReference

Parameter Type Description
sourceId string  
script RenderSchedule.Script  

Returns - RenderSchedule.ScriptReference



ScriptReference(sourceIdOrScript, scriptIfSourceId?)

ScriptReference(sourceIdOrScript: string | RenderSchedule.Script, scriptIfSourceId?: RenderSchedule.Script): RenderSchedule.ScriptReference

internal Use one of the public constructor overloads which forward to this one.

Parameter Type Description
sourceIdOrScript string | RenderSchedule.Script  
scriptIfSourceId RenderSchedule.Script  

Returns - RenderSchedule.ScriptReference


Defined in

Last Updated: 30 November, 2023