文档

Unity Engine

Download Unity

Unity Engine

GetDynamicSharedComponentDataAddress(ref DynamicSharedComponentTypeHandle)

Provides an unsafe interface to shared components stored in this chunk.
阅读时间1 分钟最后更新于 19 天前

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.