Skip to main content

KMaterialEditParam

kds-plugin-document / Exports / KMaterialEditParam

Interface: KMaterialEditParam

材质编辑参数类型定义 用于定义材质编辑时所需的参数

Table of contents

Properties

Properties

editParam

editParam: Object

编辑参数详情

Type declaration

NameTypeDescription
attributeInfoSetKAttributeInfo[]属性信息集合
obsPhysicalTextureIdstring物理贴图ID
scale{ x: number ; y: number }缩放比例
scale.xnumber-
scale.ynumber-
sceneIdstring场景ID

Defined in

api.d.ts:4127


srcMaterialId

srcMaterialId: string

源材质ID

Defined in

api.d.ts:4123


synchronizeOpacity

Optional synchronizeOpacity: boolean

是否同步透明度(可选)

Defined in

api.d.ts:4125