Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.02 KB

decentraland-ecs.basicmaterial.md

File metadata and controls

13 lines (9 loc) · 1.02 KB

Home > decentraland-ecs > BasicMaterial

BasicMaterial class

Properties

Property Access Modifier Type Description
alphaTest number A number between 0 and 1. Any pixel with an alpha lower than this value will be shown as transparent.
samplingMode number Enables crisper images based on the provided sampling mode. | Value | Type | |-------|-----------| | 1 | NEAREST | | 2 | BILINEAR | | 3 | TRILINEAR |
texture string The source of the texture image.
wrap number Enables texture wrapping for this material. | Value | Type | |-------|-----------| | 1 | CLAMP | | 2 | WRAP | | 3 | MIRROR |