sparkengineweb
    Preparing search index...

    Interface MaterialComponentProps

    interface MaterialComponentProps {
        diffuseColor?: RgbProps;
        diffuseTexturePath?: string;
        opacity?: number;
    }

    Implemented by

    Index

    Properties

    diffuseColor?: RgbProps

    The diffuse color of the material, expressed through Rgb Props

    diffuseTexturePath?: string

    The texture path to use as a diffuse texture

    opacity?: number

    The opacity of the material. The value is a range between 0 and 100, where 0 is fully transparent object and 100 is a fully opaque