文档

Unity Engine

Download Unity

Unity Engine

GetMarkerCategoryIndex(int)

Gets Profiler marker category for the specific marker identifier.
阅读时间1 分钟最后更新于 17 天前

Definition

public ushort GetMarkerCategoryIndex(int markerId)

Parameters

markerId

Marker identifier.

Returns

Type

Description

ushortReturns Profiler category index.

Remarks

Use to filter samples data by a specific Profiler category.
The category index is represented by ushort value and refers to one of the following constants in ProfilerUnsafeUtility class:
Throws:
System.ArgumentException if markerId is invalid.