Options
All
  • Public
  • Public/Protected
  • All
Menu

Class YImpassableBarrier

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[]

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

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

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