ドキュメント

Unity Engine

Unity Engine

PhysicsWorld.DrawResults.PointElement

A Point Element.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsWorld.DrawResults.PointElement

Fields

Value

Description

colorThe color of the point element.
elementDepthThe depth of the element.
positionThe position of the point element.
radiusThe radius of the point element (in pixels).

Static Methods

Method

Description

SizeThe data size of the point element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure.