Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlanarShadowInfo

平面阴影相关信息

Hierarchy

  • PlanarShadowInfo

Index

Properties

Protected _distance

_distance: number = 0

Protected _enabled

_enabled: boolean = false

Protected _normal

_normal: Vec3 = new Vec3(0, 1, 0)

Protected _resource

_resource: PlanarShadows | null = null

Protected _shadowColor

_shadowColor: Color = new Color(0, 0, 0, 76)

Accessors

distance

  • get distance(): number
  • set distance(val: number): void

enabled

  • get enabled(): boolean
  • set enabled(val: boolean): void

normal

  • get normal(): Vec3
  • set normal(val: Vec3): void

renderScene

  • set renderScene(val: RenderScene): void

shadowColor

  • get shadowColor(): Color
  • set shadowColor(val: Color): void

Methods

setPlaneFromNode

  • setPlaneFromNode(node: Node): void

Generated using TypeDoc