0.7.0 • Published 9 months ago

@vis-three/module-css2d v0.7.0

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
9 months ago

@vis-three/module-css2D

最新版本

license

模块信息

module.type

  • : css2D

module.object

  • : true

module.lifeOrder

  • : SUPPORT_LIFE_CYCLE.THREE - 300

提供配置

CSS2D 物体-CSS2DObject

  • 类型CSS2DObject
  • 配置类型:
export interface CSS2DObjectConfig extends ObjectConfig {
  element: string;
  width: number;
  height: number;
}
  • 默认配置:
{
   element: "",
   width: 50,
   height: 50,
}

:::tip 该配置供模块内部使用 :::

CSS2D 平面-CSS2DPlane

  • 类型CSS2DPlane
  • 配置类型:
export interface CSS2DPlaneConfig extends CSS2DObjectConfig {}
  • 默认配置:
{
   element: "",
   width: 50,
   height: 50,
}
0.7.0

9 months ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago