Version: 2022.3

LineTextureMode

enumeration

切换到手册

描述

控制如何将纹理应用于线和轨迹。

变量

Stretch沿线的整个长度映射纹理一次。
Tile基于其长度(采用世界单位)沿线重复纹理。若要设置平铺速率,请使用 Material.SetTextureScale。
DistributePerSegment沿线的整个长度映射纹理一次(假设所有顶点均匀分布)。
RepeatPerSegment沿线重复纹理(按每个线细分段一次的速率重复)。若要调整平铺速率,请使用 Material.SetTextureScale。
StaticTrails do not change the texture coordinates of existing points when they add or remove points.