Share via


AddShapeToPhysicsEntity Method

Microsoft Robotics Class Reference

Adds a shape instance to the physics entity that is associated with the visual entity

Namespace: Microsoft.Robotics.Simulation.Engine
Assembly: SimulationEngine (in SimulationEngine.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

VisualEntityMesh AddShapeToPhysicsEntity(
    Shape shape,
    VisualEntityMesh mesh
)

Parameters

Remarks

This method must be used to dynamically add a shape after the entity has been initialized

See Also

IVisualEntity Interface

Microsoft.Robotics.Simulation.Engine Namespace