Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsDestructor.SliceResult

The result of a slice operation. This must be disposed of after use otherwise leaks will occur. See PhysicsDestructor.Slice.
Read time 1 minuteLast updated 13 days ago

Definition

public readonly struct PhysicsDestructor.SliceResult : IDisposable

Properties

Property

Description

leftGeometryThe geometry that was sliced on the "left" of the line.
rightGeometryThe geometry that was sliced on the "right" of the line.
transformThe transform used when slicing. All returned geometry uses this.

Methods

Method

Description

DisposeDispose of the slice result.