OpenFairyGUI API
    Preparing search index...

    Class Property<T>Abstract

    Properties represent distinct resources in a FairyGUI asset, referenced by other properties.

    All properties are created with factory methods on the Document in which they should be constructed. Properties are destroyed by calling Property.dispose().

    Type Parameters

    Hierarchy (View Summary)

    Index
    propertyType: string
    • Parameters

      • type: string
      • listener: EventListener<GraphNodeEvent>

      Returns this

    • Removes all inbound references to this object. At the end of the process the object is considered 'detached': it may hold references to child resources, but nothing holds references to it. A detached object may be re-attached.

      Returns this

    • Dispatches an event on the GraphNode, and on the associated Graph. Event types on the graph are prefixed, "node:[type]".

      Parameters

      • event: BaseEvent

      Returns this

    • Removes both inbound references to and outbound references from this object. At the end of the process the object holds no references, and nothing holds references to it. A disposed object is not reusable.

      Returns void

    • Returns true if the node has been permanently removed from the graph.

      Returns boolean

    • Parameters

      • type: string
      • listener: EventListener<GraphNodeEvent>

      Returns this