Main Content

add

Add actor to virtual world

Since R2022b

    Description

    add(world,actor) adds actor to world.

    add(world,actor,parent) additionally updates the world scene graph by attaching actor to parent.

    Input Arguments

    collapse all

    The sim3d.Actor object being added to the 3D world.

    The sim3d.World object to which the actor object is being added.

    Handle to the parent actor where actor is being attached.

    Version History

    Introduced in R2022b