Skip to content

RoyInterface / Exports / resource/material/RoyMaterialInstance / RoyMaterialInstancePropDesc

Class: RoyMaterialInstancePropDesc

resource/material/RoyMaterialInstance.RoyMaterialInstancePropDesc

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new RoyMaterialInstancePropDesc(): RoyMaterialInstancePropDesc

Returns

RoyMaterialInstancePropDesc

Properties

info

info: RoyMaterialInfo


blendMode

blendMode: number


shadingMode

shadingMode: number


cullFaceMode

cullFaceMode: CullingMode


depthWriteEnabled

depthWriteEnabled: boolean


depthTestEnabled

depthTestEnabled: boolean


doubleSided

doubleSided: boolean


colorWrite

colorWrite: boolean


polygonOffset

polygonOffset: Vec2


instanceEnabled

instanceEnabled: boolean


lightEnabled

lightEnabled: boolean

Methods

isValid

isValid(): boolean

Returns

boolean