Get SpatialOS

Sites

Menu

EntityQuerySnapshot Struct

Namespace: Improbable.Gdk.Core
GDK package: Core
Source

A snapshot of a SpatialOS entity, containing the result of a entity query.

Notes

  • This copies entity components from Improbable.Worker.CInterop.Entity for long term storage. This may only be a partial snapshot of an entity. The components present depend on the component filter used when making the entity query.


Methods

GetComponentSnapshot<T> Source
T? GetComponentSnapshot<T>()

Get the SpatialOS component snapshot if present.

Returns:
The component snapshot, if it exists, or null otherwise.

Type parameters:
  • T : The component type.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums