GetDynamicSharedComponentDataAddress(ref DynamicSharedComponentTypeHandle)
Provides an unsafe interface to shared components stored in this chunk.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
GetDynamicSharedComponentDataAddress(DynamicSharedComponentTypeHandle)
public readonly void* GetDynamicSharedComponentDataAddress(ref DynamicSharedComponentTypeHandle typeHandle)
Parameters
An object containing type and job safety information. To create this object, call ComponentSystemBase.GetDynamicSharedComponentTypeHandle.
Returns
Type | Description |
|---|---|
| void* | A pointer to the shared component value. |