Exclude
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the type.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
Exclude(Type)
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the type.
[ExcludeFromBurstCompatTesting("Takes a managed Type")]public static ComponentType Exclude(Type type)
Parameters
The type
Returns
Type | Description |
|---|---|
| ComponentType | The component type |
Exclude(TypeIndex)
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the typeIndex.
public static ComponentType Exclude(TypeIndex typeIndex)
Parameters
The index
Returns
Type | Description |
|---|---|
| ComponentType | The component type |
Exclude<T>()
Returns a ComponentType with ComponentType.AccessMode.Exclude based on the generic type T.
public static ComponentType Exclude<T>()
Returns
Type | Description |
|---|---|
| ComponentType | The component type |