loadGraphic() function
Helper to load a GraphicResource object by Upload identity.
Signature:
declare function loadGraphic(ctx: Context, identity: string): Promise<GraphicResource>;
Parameters
Parameter |
Type |
Description |
---|---|---|
ctx | ||
identity |
string |
Promise<GraphicResource>
Remarks
Given an Upload identity (e.g. core3d:upload:...
) this will create and load a GraphicResource for Design application.