Options
All
  • Public
  • Public/Protected
  • All
Menu

Class YPostProcess

Hierarchy

Index

Constructors

constructor

Accessors

colorFilter

  • get colorFilter(): YColor
  • set colorFilter(value: YColor): any
  • Allows to **get/**set the color filter of the target Post Process Game Logic.

    Returns YColor

  • Allows to **get/**set the color filter of the target Post Process Game Logic.

    Parameters

    Returns any

contrast

  • get contrast(): number
  • set contrast(value: number): any
  • Allows to **get/**set the contrast of the target Post Process Game Logic.

    Returns number

  • Allows to **get/**set the contrast of the target Post Process Game Logic.

    Parameters

    • value: number

    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

hueShift

  • get hueShift(): number
  • set hueShift(value: number): any
  • Allows to **get/**set the hue shift of the target Post Process Game Logic.

    Returns number

  • Allows to **get/**set the hue shift of the target Post Process Game Logic.

    Parameters

    • value: number

    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

priority

  • get priority(): number
  • set priority(value: number): any
  • Allows to **get/**set the priority of the target Post Process Game Logic.

    Returns number

  • Allows to **get/**set the priority of the target Post Process Game Logic.

    Parameters

    • value: number

    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

saturation

  • get saturation(): number
  • set saturation(value: number): any
  • Allows to **get/**set the saturation of the target Post Process Game Logic.

    Returns number

  • Allows to **get/**set the saturation of the target Post Process Game Logic.

    Parameters

    • value: number

    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

weight

  • get weight(): number
  • set weight(value: number): any
  • Allows to **get/**set the weight of the target Post Process Game Logic.

    Returns number

  • Allows to **get/**set the weight of the target Post Process Game Logic.

    Parameters

    • value: number

    Returns any

Methods

addStorage

attachLabel

  • Allows to attach selected Game Logic Label to target Game Logic.

    Parameters

    Returns void

destroy

  • destroy(): void
  • Deletes the selected game logic*.

    Returns void

enable

  • enable(player: YCharacter, active: boolean, time: number): void
  • Activates or deactivates a custom Post Process Game Logic to the target player.

    Parameters

    Returns void

getStorageData

hasLabel

  • Returns whether the target Game Logic has selected Label attached.

    Parameters

    Returns boolean

hasStorage

  • Returns whether the game logic has the selected storage attached.

    Parameters

    Returns boolean

isEnabled

  • Returns whether the target Post Process Game Logic is active for the target player.

    Parameters

    Returns boolean

removeLabel

  • Allows to remove selected Game Logic Label from target Game Logic.

    Parameters

    Returns void

removeStorage

transformPosition

transformRotation

Static is

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

    Parameters

    Returns boolean

Static spawn

Generated using TypeDoc