Interface: WaypointTextureBounds
Beta
定义一个纹理及其应显示的距离范围。在 WaypointTextureSelector 内部使用,以创建基于距离的纹理切换。
Defines a texture and the distance range in which it should be displayed. Used within a WaypointTextureSelector to create distance-based texture switching.
Properties
lowerBound
lowerBound:
number
Beta
Remarks
此纹理的下距离边界。当到路径点的距离大于此值时显示纹理。值必须大于或等于 0。
The lower distance bound for this texture. The texture is displayed when the distance to the waypoint is greater than this value. Value must be greater than or equal to 0.
Minimum Value: 0
texture
texture:
CustomTexture|WaypointTexture
Beta
Remarks
在此距离范围内显示的 WaypointTexture 或 CustomTexture。
The WaypointTexture or CustomTexture to display within this distance range.
upperBound?
optionalupperBound?:number
Beta
Remarks
此纹理的上距离边界。当到路径点的距离小于或等于此值时显示纹理。如果未定义,则没有上限。值必须大于或等于 0。
The upper distance bound for this texture. The texture is displayed when the distance to the waypoint is less than or equal to this value. If undefined, there is no upper limit. Value must be greater than or equal to 0.
Minimum Value: 0
