Class SetPropertyAction

Class Hierarchy

SetPropertyAction sets the value of a property of a target node based on:

  • Fixed value
  • The value of an argument of the triggering message
  • The value of a property of another node

You can set the path to the target node with the TargetObjectPathProperty.

Sets the value of a property.

The value can be:

  • A fixed value.
  • The value of an argument of the message that triggers this action.
  • The value of a property in another node.

Inherits properties and message types from SetPropertyActionMetadata.

Synopsis

Methods
create()

Creates an instance of SetPropertyAction

SetPropertyAction.SetPropertyAction:create(name)

Creates an instance of SetPropertyAction.

Parameters
name (string)

Name for the action instance.

Return Values
(SetPropertyAction)

Shared pointer to the created SetPropertyAction instance.