Appearance
RoyInterface / Exports / resource/material/MatSkybox / MatSkybox
Class: MatSkybox
resource/material/MatSkybox.MatSkybox
Hierarchy
↳
MatSkybox
Table of contents
Constructors
Properties
- MatName
- m_suffix
- templateName
- canInstance
- canBatch
- rayTraceSupport
- editLightModeSupport
- castShadow
- receiveShadow
- hasBaseColor
- hasUVCoord
- m_groupPriority
Accessors
Methods
Constructors
constructor
• new MatSkybox(suffix?
): MatSkybox
Parameters
Name | Type |
---|---|
suffix? | string |
Returns
Overrides
RoyMaterialTemplate.constructor
Properties
MatName
▪ Static
MatName: string
= 'skybox'
m_suffix
• Private
m_suffix: string
templateName
• templateName: string
Inherited from
RoyMaterialTemplate.templateName
canInstance
• canInstance: number
= 0
Inherited from
RoyMaterialTemplate.canInstance
canBatch
• canBatch: boolean
= false
Inherited from
rayTraceSupport
• rayTraceSupport: boolean
= false
Inherited from
RoyMaterialTemplate.rayTraceSupport
editLightModeSupport
• editLightModeSupport: boolean
= false
Inherited from
RoyMaterialTemplate.editLightModeSupport
castShadow
• castShadow: boolean
= false
Inherited from
RoyMaterialTemplate.castShadow
receiveShadow
• receiveShadow: boolean
= false
Inherited from
RoyMaterialTemplate.receiveShadow
hasBaseColor
• hasBaseColor: boolean
= false
Inherited from
RoyMaterialTemplate.hasBaseColor
hasUVCoord
• hasUVCoord: boolean
= false
Inherited from
RoyMaterialTemplate.hasUVCoord
m_groupPriority
• Protected
m_groupPriority: Object
= {}
Index signature
▪ [key: string
]: number
Inherited from
RoyMaterialTemplate.m_groupPriority
Accessors
groupPriority
• get
groupPriority(): Object
Returns
Object
Inherited from
RoyMaterialTemplate.groupPriority
Methods
createMaterialInstance
▸ createMaterialInstance(transDataInfo?
): RoyMaterialInstance
Parameters
Name | Type |
---|---|
transDataInfo? | RoyTransDataInfo |
Returns
Overrides
RoyMaterialTemplate.createMaterialInstance
getMaterialSpec
▸ getMaterialSpec(): RoyMatInfo
Returns
Overrides
RoyMaterialTemplate.getMaterialSpec
syncMatDataRT
▸ syncMatDataRT(matInst
, sceneImpl
, offset
): void
Parameters
Name | Type |
---|---|
matInst | RoyMaterialInstance |
sceneImpl | any |
offset | number |
Returns
void
Inherited from
RoyMaterialTemplate.syncMatDataRT
setGroupPriority
▸ setGroupPriority(name
, priority
): void
Parameters
Name | Type |
---|---|
name | string |
priority | number |
Returns
void