create MethodStatic
Create and return a SkyCube. (Calls the SkyCube constructor after validating the Ids passed in for the images.)
create(front: Id64String, back: Id64String, top: Id64String, bottom: Id64String, right: Id64String, left: Id64String, display?: false | true): SkyCube | undefined
note All Ids must refer to a persistent texture element stored in the iModel.
Parameter | Type | Description |
---|---|---|
front | Id64String | The Id of the image to use for the front side of the sky cube. |
back | Id64String | The Id of the image to use for the back side of the sky cube. |
top | Id64String | The Id of the image to use for the top side of the sky cube. |
bottom | Id64String | The Id of the image to use for the bottom side of the sky cube. |
right | Id64String | The Id of the image to use for the right side of the sky cube. |
left | Id64String | The Id of the image to use for the left side of the sky cube. |
display | false | true |
Returns - A SkyCube, or undefined if any of the supplied texture Ids are invalid.
Defined in
Last Updated: 08 January, 2020