This documentation is for a prerelease version of O3DE. Click here to switch to the latest release, or select a version from the dropdown.

Version:

Shape Reference Component

Add the Shape Reference component to reference and re-use shape components in your Open 3D Engine (O3DE) level.

Provider

O3DE Core (LmbrCentral) Gem

Sphere Shape properties

Shape Reference component properties

PropertyDescriptionValuesDefault
Shape Entity IdSelects an entity with a valid Shape component.Entity IdNone

ReferenceShapeRequestBus

Use the following request functions with the ReferenceShapeRequestBus EBus interface to communicate with Shape Reference components in your game.

Request NameDescriptionParameterReturnScriptable
GetShapeEntityIdReturns the value of Shape Entity Id.NoneEntity IdYes
SetShapeEntityIdSets the value of Shape Entity Id.Entity IdNoneYes