IObjectInstance interface

Ashley's avatar
Medal
Construct Team Founder
Published 14 Nov, 2017
76 words
<1 min

The IObjectInstance interface represents an instance in Construct.

Methods

GetProject()

Return the IProject representing the instance's associated project.

GetObjectType()

Return the associated IObjectType interface for this instance.

GetPropertyValue(id)

Get the value of a plugin property for this instance by its property ID. Color properties return a SDK.Color.

SetPropertyValue(id, value)

Set the value of a plugin property for this instance by its property ID. For color properties a SDK.Color must be passed as the value.