Documentation

Unity Engine

Unity Engine

this[]

The value of the channel at a position in the set.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

this[int]

public float this[int index] { get; set; }

Parameters

index

Position of the channel, from 0 to less than AnimatableFloatChannels.channelCount.

Returns

Type

Description

float

Remarks

If
index
is out of range, getting the value returns 0 and setting the value has no effect.