Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsWorld.DrawResults.LineElement

A Line Element.
Read time 1 minuteLast updated 10 days ago

Definition

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

Fields

Value

Description

colorThe color of the line element.
elementDepthThe depth of the element.
lengthThe length of the line element.
transformThe transform of the line element.

Static Methods

Method

Description

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