Main Content

propagate

Propagate value of selected property to actor and its children

    Description

    propagate(actor,PropertyName,PropertyValue) propagates the property value specified by PropertyValue to the PropertyName property of actor.

    propagate(actor,PropertyName,PropertyValue,Condition) restricts propagation according to the value of Condition.

    Input Arguments

    collapse all

    Actor class where property is propagated, specified as a sim3d.Actor object.

    Name of property being propagated to actor, specified as one of the Properties of the sim3d.Actor object.

    Value of property propagated to actor, specified as one of the Properties of the sim3d.Actor object.

    Where to propagate property value, specified as 'all', 'children', or 'selected', where

    • 'all' – Propagate value to actor and all its children.

    • 'children' – Propagate value only to children but not to actor itself.

    • 'selected' – Propagate value only to selected sim3d.Actor objects.

    Version History

    Introduced in R2022b