Options
All
  • Public
  • Public/Protected
  • All
Menu

Class YEnvironment

Hierarchy

Index

Constructors

constructor

Accessors

color

  • Allows to get / set color of the target Trigger Zone.

    Returns YColor

  • Allows to get / set color of the target Trigger Zone.

    Parameters

    Returns any

enabled

  • get enabled(): boolean
  • set enabled(value: boolean): any
  • Allows to enable / disable target game logic.

    Returns boolean

  • Allows to enable / disable target game logic.

    Parameters

    • value: boolean

    Returns any

id

  • get id(): number
  • Returns ID number of target game logic.

    Returns number

labels

  • Returns all labels attached to selected game logic as an array*.

    Returns YLogicLabel[]

lightIntensity

  • get lightIntensity(): number
  • set lightIntensity(value: number): any
  • Allows to **get/**set light intensity of target Environment Game Logic.

    Returns number

  • Allows to **get/**set light intensity of target Environment Game Logic.

    Parameters

    • value: number

    Returns any

name

  • get name(): string
  • set name(value: string): any
  • Allows to get / set game logic name.

    Returns string

  • Allows to get / set game logic name.

    Parameters

    • value: string

    Returns any

position

  • Allows to get / set position of target game logic. This is especially useful when getting the location of a Reference Point. When using Set position, the game logic will immediately go to that position, unlike using a Position Animator.

    Returns YVector3

  • Allows to get / set position of target game logic. This is especially useful when getting the location of a Reference Point. When using Set position, the game logic will immediately go to that position, unlike using a Position Animator.

    Parameters

    Returns any

postProcess

  • Allows to attach a custom *Post Process Game Logic to the target Environment Game Logic.

    Returns YPostProcess

  • Allows to attach a custom *Post Process Game Logic to the target Environment Game Logic.

    Parameters

    Returns any

quaternion

rotation

  • Allows to get / set rotation of target game logic. When using Set Rotation, the game logic will immediately go to that rotation, unlike using a Rotation Animator.

    Returns YVector3

  • Allows to get / set rotation of target game logic. When using Set Rotation, the game logic will immediately go to that rotation, unlike using a Rotation Animator.

    Parameters

    Returns any

scale

  • Allows to get / set size of target game logic.

    Returns YVector3

  • Allows to get / set size of target game logic.

    Parameters

    Returns any

temperature

  • get temperature(): number
  • set temperature(value: number): any
  • Allows to **get/**set the temperature of target Environment Game Logic.

    Returns number

  • Allows to **get/**set the temperature of target Environment Game Logic.

    Parameters

    • value: number

    Returns any

usePostProcess

  • get usePostProcess(): boolean
  • set usePostProcess(value: boolean): any
  • Allows to enable/disable whenever target Environment uses a post process.

    Returns boolean

  • Allows to enable/disable whenever target Environment uses a post process.

    Parameters

    • value: boolean

    Returns any

visible

  • get visible(): boolean
  • set visible(value: boolean): any
  • Allows to get / set the visibility of the target Trigger Zone.

    Returns boolean

  • Allows to get / set the visibility of the target Trigger Zone.

    Parameters

    • value: boolean

    Returns any

Methods

addStorage

attachLabel

destroy

  • destroy(): void

getStorageData

hasLabel

hasStorage

removeLabel

removeStorage

transformPosition

transformRotation

Static is

  • Returns whether the target object is game logic or not.

    Parameters

    Returns boolean

Static spawn

Generated using TypeDoc