KMaterialEditParam
kds-plugin-document / Exports / KMaterialEditParam
Interface: KMaterialEditParam
材质编辑参数类型定义 用于定义材质编辑时所需的参数
Table of contents
Properties
Properties
editParam
• editParam: Object
编辑参数详情
Type declaration
| Name | Type | Description |
|---|---|---|
attributeInfoSet | KAttributeInfo[] | 属性信息集合 |
obsPhysicalTextureId | string | 物理贴图ID |
scale | { x: number ; y: number } | 缩放比例 |
scale.x | number | - |
scale.y | number | - |
sceneId | string | 场景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