ドキュメント

Unity Engine

Unity Engine

PhysicsWorld.DrawResults.CircleGeometryElement

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

Definition

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

Fields

Value

Description

colorThe color of the circle element.
drawFillOptionsHow the geometry element is filled with the color. See PhysicsWorld.DrawFillOptions.
elementDepthThe depth of the element.
radiusThe radius of the circle element.
transformThe transform of the circle element.

Static Methods

Method

Description

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