Appearance
RoyInterface / Exports / hierarchy/RoyRoot / RoyMatInfo
Interface: RoyMatInfo
hierarchy/RoyRoot.RoyMatInfo
Interface for Roy Material Info.
Table of contents
Properties
- name
- suffix
- relPath
- canInstance
- canBatch
- rayTraceSupport
- editLightModeSupport
- castShadow
- receiveShadow
- hasBaseColor
- hasUVCoord
Properties
name
• name: string
The name of the material.
suffix
• Optional
suffix: string
The name suffix of the material.
relPath
• Optional
relPath: string
The relative path of the material.
canInstance
• canInstance: number
The number of instances.
canBatch
• canBatch: boolean
Whether the material can be batched.
rayTraceSupport
• rayTraceSupport: boolean
Wherther the material support ray trace
editLightModeSupport
• editLightModeSupport: boolean
Whether the material supports editing light mode.
castShadow
• castShadow: boolean
Whether the material casts shadow.
receiveShadow
• receiveShadow: boolean
Whether the material receives shadow.
hasBaseColor
• Optional
hasBaseColor: boolean
Whether the material has base color.
hasUVCoord
• Optional
hasUVCoord: boolean
Whether the material has UV coordinates.