Appearance
RoyInterface / Exports / resource/material/RoyMaterialInstance / RoyMaterialInstancePropDesc
Class: RoyMaterialInstancePropDesc
resource/material/RoyMaterialInstance.RoyMaterialInstancePropDesc
Table of contents
Constructors
Properties
- info
- blendMode
- shadingMode
- cullFaceMode
- depthWriteEnabled
- depthTestEnabled
- doubleSided
- colorWrite
- polygonOffset
- instanceEnabled
- lightEnabled
Methods
Constructors
constructor
• new RoyMaterialInstancePropDesc(): RoyMaterialInstancePropDesc
Returns
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