기술 자료

Unity Engine

Unity Engine

Size()

The data size of the point element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static int Size()

Returns

Type

Description

intThe size in bytes.