Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTangent(bool)

Returns the Tangent extras slice.
Read time 1 minuteLast updated 12 days ago

Definition

public NativeSlice<Vector4> GetTangent(bool allocate = false)

Parameters

allocate

When true, attaches a fresh slice sized to
vertices.Length
if the channel isn't already present. Returns empty if the channel is disabled on the panel's ExtraVertexChannels mask. Idempotent on re-call.

Returns

Type

Description

NativeSlice<Vector4>