IFamily interface
The IFamily
interface represents a family in Construct, which is a group of object types that can be treated as one. All object types in the family must be from the same plugin. It derives from IObjectClass. Families can be created in the SDK using IProject.CreateFamily()
.
Methods
- GetMembers()
- Return an array of IObjectType representing the object types in the family.
- SetMembers(objectTypes)
- Set the members of the family by passing an array of IObjectType. Note all the specified object types must be compatible with the family, including using the same plugin, and not having any naming conflicts between instance variables, behaviors and effects.
Addon SDK Manual
Construct.net
2018-09-19
2020-11-16
You are here:
Search this manual:
This manual entry was last updated on 16 Nov, 2020 at 17:05