Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TMXObjectGroupInfo

cc.TMXObjectGroupInfo contains the information about the object group like: - group name - group size - group opacity at creation time (it can be modified at runtime) - Whether the group is visible

This information is obtained from the TMX file.

Hierarchy

  • TMXObjectGroupInfo

Index

Properties

color

color: Color = new Color(255, 255, 255, 255)

draworder

draworder: DrawOrder = "topdown"

name

name: string = ""

objects

objects: TMXObject[] = []

offset

offset: Vec2 = new Vec2(0, 0)

opacity

opacity: number = 0

properties

properties: PropertiesInfo = {} as any

Properties of the ObjectGroup info.

property

{Array} properties

tintColor

tintColor: Color | null = null

visible

visible: boolean = true

Methods

getProperties

  • getProperties(): {}

setProperties

Generated using TypeDoc