Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsWorld.DrawResults.PointElement

A Point Element.
Read time 1 minuteLast updated 13 days ago

Definition

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