clothrenderer 布料渲染器

2015-1-4 15:17| 发布者: 杨炎| 查看: 2376| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本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?

物体是否被隐藏、保存在场景中或被用户修改?

相关阅读

文章点评
相关文章