真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

Gizmos輔助線框-創(chuàng)新互聯(lián)

Gizmos are used to give visual debugging or setup aids in the scene view.Gizmos輔助線框

Gizmos是用于在場(chǎng)景視圖可視化調(diào)試或輔助設(shè)置。

成都創(chuàng)新互聯(lián)成立于2013年,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項(xiàng)目成都網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)網(wǎng)站策劃,項(xiàng)目實(shí)施與項(xiàng)目整合能力。我們以讓每一個(gè)夢(mèng)想脫穎而出為使命,1280元龍南做網(wǎng)站,已為上家服務(wù),為龍南各地企業(yè)和個(gè)人服務(wù),聯(lián)系電話:18980820575

All gizmo drawing has to be done in either OnDrawGizmos or OnDrawGizmosSelected functions of the script.

所有g(shù)izmo繪制需要在腳本的OnDrawGizmos或OnDrawGizmosSelected里函數(shù)完成。

OnDrawGizmos is called every frame. All gizmos rendered within OnDrawGizmos are pickable.
OnDrawGizmosSelected is called only if the object the script is attached to is selected.

OnDrawGizmos在每幀調(diào)用。所有在OnDrawGizmos中渲染的gizmos都是可見(jiàn)的。
OnDrawGizmosSelected僅在腳本附加的物體被選擇時(shí)被調(diào)用。

Class Variables類變量

  • color Sets the color for the gizmos that will be drawn next.
    為隨后繪制的gizmos設(shè)置顏色。
  • matrix Set the gizmo matrix used to draw all gizmos.
    設(shè)置gizmo的矩陣用于繪制所有g(shù)izmos。

Class Functions類函數(shù)

    • DrawRay Draws a ray starting at from to from + direction.
      繪制一條射線從from起點(diǎn)到direction方向和位置。
    • DrawLine Draws a line starting at from towards to.
      繪制一條線從from起點(diǎn)到to位置。
    • DrawWireSphere Draws a wireframe sphere with center and radius.
      使用center和radius參數(shù),繪制一個(gè)線框球體。
    • DrawSphere Draws a solid sphere with center and radius.
      使用center和radius參數(shù),繪制一個(gè)實(shí)心球體。
    • DrawWireCube Draw a wireframe box with center and size.
      使用center和size參數(shù),繪制一個(gè)線框立方體。
    • DrawCube Draw a solid box with center and size.
      使用center和size參數(shù),繪制一個(gè)實(shí)心立方體。
    • DrawIcon Draw an icon at world position in the scene view.
      在場(chǎng)景視圖世界位置繪制一個(gè)圖標(biāo)。
    • DrawGUITexture Draw a texture in screen coordinates. Useful for GUI backgrounds.
      在屏幕坐標(biāo)繪制一個(gè)紋理。作為GUI的背景很有用的。

網(wǎng)頁(yè)標(biāo)題:Gizmos輔助線框-創(chuàng)新互聯(lián)
分享地址:http://weahome.cn/article/cdsdjs.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部