文档

Unity Engine

Download Unity

Unity Engine

this[]

The value of the channel at a position in the set.
阅读时间1 分钟最后更新于 16 天前

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.