# GetEntityId()

> Returns the entityId of the GameObject from which Unity performs the culling (for example, Camera, Light, etc.).

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Rendering](/engine/6000.6/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public readonly EntityId GetEntityId()
```

### Returns

| Type                                                                | Description |
| ------------------------------------------------------------------- | ----------- |
| [EntityId](/engine/6000.6/script-reference/unityengine/entityid.md) |             |
