Skip to content

RoyInterface / Exports / resource/material/materialfixed/RoyMaterialStandardBat / MatBaseBat

Class: MatBaseBat

resource/material/materialfixed/RoyMaterialStandardBat.MatBaseBat

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new MatBaseBat(suffix?): MatBaseBat

Parameters

NameType
suffix?string

Returns

MatBaseBat

Overrides

RoyMaterialTemplate.constructor

Properties

templateName

templateName: string

Inherited from

RoyMaterialTemplate.templateName


canInstance

canInstance: number = 0

Inherited from

RoyMaterialTemplate.canInstance


canBatch

canBatch: boolean = false

Inherited from

RoyMaterialTemplate.canBatch


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


MatName

Static MatName: string = 'dispBaseBat'


m_suffix

Private m_suffix: string

Accessors

groupPriority

get groupPriority(): Object

Returns

Object

Inherited from

RoyMaterialTemplate.groupPriority

Methods

syncMatDataRT

syncMatDataRT(matInst, sceneImpl, offset): void

Parameters

NameType
matInstRoyMaterialInstance
sceneImplany
offsetnumber

Returns

void

Inherited from

RoyMaterialTemplate.syncMatDataRT


setGroupPriority

setGroupPriority(name, priority): void

Parameters

NameType
namestring
prioritynumber

Returns

void

Inherited from

RoyMaterialTemplate.setGroupPriority


createMaterialInstance

createMaterialInstance(transDataInfo?): RoyMaterialInstance

Parameters

NameType
transDataInfo?RoyTransDataInfo

Returns

RoyMaterialInstance

Overrides

RoyMaterialTemplate.createMaterialInstance


getMaterialSpec

getMaterialSpec(): RoyMatInfo

Returns

RoyMatInfo

Overrides

RoyMaterialTemplate.getMaterialSpec