Main Content

add

Add actor to virtual reality world

    Description

    act = add(world,actor) adds actor to world and returns the handle for actor in act.

    act = add(world,actor,parent) additionally updates the world scene graph by attaching actor to parent. It also returns the handle for actor in act.

    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