文档

Unity Engine

Unity Engine

WriteFloats(AnimationStream, NativeArray<PropertyStreamHandle>, NativeArray<float>, bool)

Writes float properties from the buffer to the PropertyStreamHandle array (handles).
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void WriteFloats(AnimationStream stream, NativeArray<PropertyStreamHandle> handles, NativeArray<float> buffer, bool useMask)

Parameters

The animation stream.

The PropertyStreamHandle array to write to.

The buffer of float properties.

useMask

Set to true to write new values if the matching stream handles have not already been modified.