找回密碼
 注冊帳號

掃一掃,訪問微社區

clothrenderer 布料渲染器

2015-1-4 15:17| 發布者: 楊炎| 查看: 2534| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: clothrenderer 布料渲染器inherits fromrendererthe clothrenderer component is used together with theinteractiveclothcomponent, to visualize a cloth object in the scene.clothrenderer組件和interactiveclot ...

clothrenderer 布料渲染器

inherits fromrenderer

the clothrenderer component is used together with theinteractiveclothcomponent, to visualize a cloth object in the scene.

clothrenderer組件和interactivecloth組件配合使用,在場景中使一個布料物體可見。

variables變量

pausewhennotvisible

pause the cloth simulation, when the clothrenderer is not currently visible.

在clothrenderer不可見的時,暫停布料模擬。

inherited members繼承成員

inherited variables繼承變量

ispartofstaticbatch

has this renderer been statically batched with any other renderers?

這個渲染器有被任何其他渲染器靜態批處理

worldtolocalmatrix

matrix that transforms a point from world space into local space (read only).

矩陣(matrix)世界空間坐標的點轉換成自身空間坐標的點(只讀)。

localtoworldmatrix

matrix that transforms a point from local space into world space (read only).

矩陣(matrix)自身空間坐標的點轉換成世界空間坐標的點(只讀)。

enabled

makes the rendered 3d object visible if enabled.

如果啟用,使被渲染的物體可見。這是一個物體隱藏顯示的開關。

castshadows

does this object cast shadows?

這個物體是否投射陰影?

receiveshadows

does this object receive shadows?

這個物體是否接收陰影?

material

the material of this object.

物體的材質。

sharedmaterial

the shared material of this object.

物體的共享材質。

sharedmaterials

all the shared materials of this object.

物體的全部共享材質。

materials

all the materials of this object.

物體的全部材質。

bounds

the bounding volume of the renderer (read only).

渲染器的邊界框(只讀)。

lightmapindex

the index of the lightmap applied to this renderer.

應用到該渲染器的光照貼圖的索引。

lightmaptilingoffset

the tiling & offset used for lightmap.

用于光照貼圖的平鋪和偏移值。

isvisible

is this renderer visible in any camera? (read only)

這個渲染器在任何攝像機可見(只讀)?

transform

thetransformattached to thisgameobject(null if there is none attached).

transform附加到gameobject(游戲物體)(如無附加則為空)。

rigidbody

therigidbodyattached to thisgameobject(null if there is none attached).

rigidbody附加到gameobject(游戲物體)(如無附加則為空)。

camera

thecameraattached to thisgameobject(null if there is none attached).

camera附加到gameobject(游戲物體)(如無附加則為空)。

light

thelightattached to thisgameobject(null if there is none attached).

light附加到gameobject(游戲物體)(如無附加則為空)。

animation

theanimationattached to thisgameobject(null if there is none attached).

animation附加到gameobject(游戲物體)(如無附加則為空)。

constantforce

theconstantforceattached to thisgameobject(null if there is none attached).

constantforce附加到gameobject(游戲物體)(如無附加則為空)。

renderer

therendererattached to thisgameobject(null if there is none attached).

renderer附加到gameobject(游戲物體)(如無附加則為空)。

audio

theaudiosourceattached to thisgameobject(null if there is none attached).

audiosource附加到gameobject(游戲物體)(如無附加則為空)。

guitext

theguitextattached to thisgameobject(null if there is none attached).

guitext附加到gameobject(游戲物體)(如無附加則為空)。

networkview

thenetworkviewattached to thisgameobject(read only). (null if there is none attached)

networkview附加到gameobject(游戲物體)(只讀)(如無附加則為空)。

guitexture

theguitextureattached to thisgameobject(read only). (null if there is none attached)

guitexture附加到gameobject(游戲物體)(只讀)(如無附加則為空)。

collider

thecolliderattached to thisgameobject(null if there is none attached).

collider附加到gameobject(游戲物體)(如無附加則為空)。

hingejoint

thehingejointattached to thisgameobject(null if there is none attached).

hingejoint附加到gameobject(游戲物體)(如無附加則為空)。

particleemitter

theparticleemitterattached to thisgameobject(null if there is none attached).

particleemitter附加到gameobject(游戲物體)(如無附加則為空)。

gameobject

the game object this component is attached to. a component is always attached to a game object.

組件附加的游戲物體。一個組件總是被附加到一個游戲物體。

tag

the tag of this game object.

游戲物體的標簽。

name

the name of the object. //物體的名字

hideflags

should the object be hidden, saved with the scene or modifiable by the user?

物體是否被隱藏、保存在場景中或被用戶修改?

相關閱讀

文章點評
相關文章
女校游泳队彩金