Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsWorld.DrawResults.LineElement

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

Definition

public readonly struct PhysicsWorld.DrawResults.LineElement : IEquatable<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.