IContainer interface
The IContainer
interface represents a container in Construct, which is a group of object types that are always created, destroyed and picked together.
Methods
- GetMembers()
- Return an array of IObjectType representing the object types in the container. Containers always have at least two members.
- SetSelectMode(m)
- GetSelectMode()
- Set or get the select mode of the container, corresponding to the Select mode property in Construct. Allowed modes are
"normal"
, "all"
and "wrap"
.
- RemoveObjectType(objectType)
- Remove a member IObjectType from this container.
- IsActive()
- Return a boolean indicating if the container is active. It becomes inactive if there are fewer than the minimum required two members, at which point it is effectively deleted.
Addon SDK Manual
Construct.net
2018-07-17
2020-11-16
You are here:
Search this manual:
This manual entry was last updated on 16 Nov, 2020 at 17:08