包含5節(jié)視頻教程
本系列包含Unity3D介紹、Unity3D導(dǎo)出人物、Unity3D導(dǎo)出場(chǎng)景、Unity3D導(dǎo)出動(dòng)作、游戲測(cè)試最終完成一個(gè)簡(jiǎn)單的游戲。是一套非常完整的Unity3D游戲制作教程。
![]()
|
![]() The Line Renderer takes an array of two or more points in 3D space and draws a straight line between each one. A single Line Renderer Component can thus be used to draw anything from a simple straight line, to a complex spiral. The line is always continuous; if you need to draw two or more completely separate lines, you should use multiple GameObjects, each with its own Line Renderer. 線(xiàn)渲染器(Line Renderer)有一個(gè)包含兩個(gè)或更多3D空間中點(diǎn)的數(shù)組并在每?jī)蓚(gè)點(diǎn)之間繪制平直的線(xiàn)。一個(gè)單獨(dú)的線(xiàn)渲染器(Line Renderer)組件因此可以用來(lái)繪制任何東西,從一條簡(jiǎn)單的平直線(xiàn)到一條復(fù)雜的螺旋線(xiàn)。這些線(xiàn)一直是連續(xù)的;如果你需要繪制兩條或更多完全間斷的線(xiàn),你需要使用多個(gè)游戲物體(GameObject),每一個(gè)都帶有它們自己的線(xiàn)渲染器(Line Renderer)。 The Line Renderer does not render one pixel thin lines. It renders billboard lines that have width and can be textured. It uses the same algorithm for line rendering as the Trail Renderer. 線(xiàn)渲染器(Line Renderer)并不渲染一個(gè)像素寬的線(xiàn)。它渲染有寬度并可以被賦予貼圖的告示板線(xiàn)。它使用與拖尾渲染器(TrailRenderer)相同的線(xiàn)渲染算法。
Properties 屬性
Details 細(xì)節(jié)To create a line renderer: 來(lái)創(chuàng)建一個(gè)線(xiàn)渲染器(Line Renderer):
Hints 提示
贊0 踩0 |
未知用戶(hù)
2005-2025 朱峰社區(qū) 版權(quán)所有 遼ICP備2021001865號(hào)-1
2005-2025 ZhuFeng Community All Rights Reserved
VIP