top(...)
top(val: string): this;
top(val: Texture): this;
Sets the texture mapped to the inner top side of the cubemap. This represents the +Y direction in 3D space.
Default value: null
Parameters
Parameter | Type | Description |
---|---|---|
val | string, Z.Texture | The texture to map to the inner top side of the cubemap. |
Returns
this