Options
All
  • Public
  • Public/Protected
  • All
Menu

Class capsule

Alias of Capsule

deprecated

Since v3.0

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly _type

_type: number

axis

axis: number

胶囊体的本地朝向,映射关系 [0,1,2] => [x,y,z]。

Readonly center

center: Vec3

胶囊体的原点。

Readonly ellipseCenter0

ellipseCenter0: Vec3

cache, local center of ellipse

Readonly ellipseCenter1

ellipseCenter1: Vec3

halfHeight

halfHeight: number

胶囊体中心点和球部圆心的距离。

radius

radius: number

胶囊体球部半径。

Readonly rotation

rotation: Quat

胶囊体的旋转。

Accessors

type

  • get type(): number

Methods

transform

updateCache

  • updateCache(): void

updateLocalCenter

  • updateLocalCenter(): void

Generated using TypeDoc