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