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