editor › Globals › IAssetPlateOrnamentSpec
Interface: IAssetPlateOrnamentSpec
Specifies that an ornament should be placed on this plate. The ornament can either be specified as an SVG string, or by referencing an ornament via assetIdAndResourceName.
Hierarchy
- IAssetPlateOrnamentSpec
Index
Properties
Properties
Optional assetIdAndResourceName
• assetIdAndResourceName? : string
Defined in src/model/data/Concepts/MakerAsset/AssetPlateSpec.ts:20
AssetId and resource name of the ornament to be instantiated (If this is defined, cutoutSvg and engravingSvg must be ignored)
Optional cutoutSvg
• cutoutSvg? : string
Defined in src/model/data/Concepts/MakerAsset/AssetPlateSpec.ts:13
LEGACY specification (svg contents as strings) of the ornament to be placed ToDo: deprecate direct use of cutoutSvg / engravingSvg (requires updating maker-format-import)
Optional engravingSvg
• engravingSvg? : string
Defined in src/model/data/Concepts/MakerAsset/AssetPlateSpec.ts:14
localPosition
• localPosition: Vector3
Defined in src/model/data/Concepts/MakerAsset/AssetPlateSpec.ts:25
plate 2d coordinates (not texture coordinates)