Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SkinnedMeshUnit

Hierarchy

  • SkinnedMeshUnit

Index

Properties

_localTransform

_localTransform: Mat4 = new Mat4()

Private _offset

_offset: Vec2 = new Vec2(0, 0)

Private _size

_size: Vec2 = new Vec2(1, 1)

material

material: Material | null = null

子蒙皮模型使用的材质。

mesh

mesh: Mesh | null = null

子蒙皮模型的网格模型。

skeleton

skeleton: Skeleton | null = null

子蒙皮模型的骨骼。

Accessors

copyFrom

offset

  • get offset(): Vec2
  • set offset(offset: Vec2): void

size

  • get size(): Vec2
  • set size(size: Vec2): void

Generated using TypeDoc