Main Content

Sim3dRelease

C++ method that releases actor in Unreal Engine 3D simulation

Since R2020b

Description

example

The C++ method void ASetGetActorLocation::Sim3dRelease() releases an actor in the Unreal Engine® 3D simulation environment. The Unreal Engine AActor::EndPlay class calls the Sim3dRelease method when the 3D simulation ends.

Examples

collapse all

void ASetGetActorLocation::Sim3dRelease()
{
   Super::Sim3dRelease();
   if (MessageReader) {
          StopSimulation3DMessageReader (SignalReader);
   }
   MessageReader = nullptr;   

   if (MessageWriter) {
          StopSimulation3DMessageWriter (SignalWriter);
   }
   MessageWriter = nullptr;
}

Version History

Introduced in R2020b