Options
All
  • Public
  • Public/Protected
  • All
Menu

盒形发射器。

Hierarchy

  • ParticleShape
    • ParticleBoxShape

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • particle: Particle
    • offsetMap: IParticleEmitterShapeOffsetMap

    Returns ParticleBoxShape

Properties

Static ArcMode

ArcMode: typeof ArcMode = ...

Accessors

emitFrom

  • 粒子从盒子的哪个位置喷射。

    memberof

    ParticleBoxShape

    Returns EmitFromBox

  • 粒子从盒子的哪个位置喷射。

    Parameters

    Returns void

scale

  • 发射器形状的缩放。(仅在BoxShape中有效)

    memberof

    ParticleShape

    Returns Vector3

  • 发射器形状的缩放。(仅在BoxShape中有效)

    Parameters

    Returns void

Methods

Static GetShapeDefaultOffsetMap

  • GetShapeDefaultOffsetMap(): { position: { rawDataOffset: number; realBuffer: Float32Array; type: string }; rotation: { rawDataOffset: number; realBuffer: Float32Array; type: string }; scale: { rawDataOffset: number; realBuffer: Float32Array; type: string } }
  • Returns { position: { rawDataOffset: number; realBuffer: Float32Array; type: string }; rotation: { rawDataOffset: number; realBuffer: Float32Array; type: string }; scale: { rawDataOffset: number; realBuffer: Float32Array; type: string } }

    • position: { rawDataOffset: number; realBuffer: Float32Array; type: string }
      • rawDataOffset: number
      • realBuffer: Float32Array
      • type: string
    • rotation: { rawDataOffset: number; realBuffer: Float32Array; type: string }
      • rawDataOffset: number
      • realBuffer: Float32Array
      • type: string
    • scale: { rawDataOffset: number; realBuffer: Float32Array; type: string }
      • rawDataOffset: number
      • realBuffer: Float32Array
      • type: string

Generated using TypeDoc