cloth 布料

2015-1-4 13:57| 发布者: 杨炎| 查看: 1881| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: cloth 布料inherits fromcomponentbase class used to simulate cloth physics - shared by bothinteractiveclothandskinnedcloth用来模拟物理布料的基类,通过interactivecloth和skinnedcloth共享。variables变量be ...

cloth 布料

inherits fromcomponent

base class used to simulate cloth physics - shared by bothinteractiveclothandskinnedcloth

用来模拟物理布料的基类,通过interactivecloth和skinnedcloth共享。

variables变量

bendingstiffness

bending stiffness of the cloth.

布料的硬度(坚挺的程度)

stretchingstiffness

stretching stiffness of the cloth.

布料的韧性(可拉伸的程度)

damping

damp cloth motion.

布料运动时的阻尼

thickness

the thickness of the cloth surface.

布料表面的厚度

externalacceleration

a constant, external acceleration applied to the cloth.

施加于布料的外力,一个恒量。

randomacceleration

a random, external acceleration applied to the cloth.

施加于布料的外力,一个随机变量。

usegravity

should gravity affect the cloth simulation?

使用重力。

selfcollision

will the cloth collide with itself?

是否产生自身碰撞

enabled

is this cloth enabled?

是否启用这个布料?

vertices

the current vertex positions of the cloth object.

当前布料物体的顶点位置列表。

normals

the current normals of the cloth object.

当前布料物体的法线列表。

inherited members继承成员

inherited variables继承变量

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?

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

相关阅读

文章点评
相关文章