用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:cloth:cloth

Cloth 布料

class in UnityEngine/Inherits from: Component

Description 描述

The Cloth class provides an interface to cloth simulation physics.

Cloth类提供了一个模拟物理布料的接口。

Variables 变量

bendingStiffnessBending stiffness of the cloth.
布料的弯曲刚度。
capsuleCollidersAn array of CapsuleColliders which this Cloth instance should collide with.
将与该布料实例进行碰撞的胶囊碰撞体的数组。
coefficientsThe cloth skinning coefficients used to set up how the cloth interacts with the skinned mesh.
布料蒙皮系数用于设置布与蒙皮网格的交互。
collisionMassScaleHow much to increase mass of colliding particles.
碰撞粒子的系数增加多少。
dampingDamp cloth motion.
减少布料的平滑。
enabledIs this cloth enabled?
是否该布料启用?
externalAccelerationA constant, external acceleration applied to the cloth.
施加于布料的外力,一个恒量。
frictionThe friction of the cloth when colliding with the character.
当角色碰撞时布料的摩擦力。
normalsThe current normals of the cloth object.
布料物体的当前法线列表。
randomAccelerationA random, external acceleration applied to the cloth.
施加于布料的外力,一个随机变量。
sleepThresholdCloth's sleep threshold.
布料的休眠阈值。
solverFrequencyNumber of solver iterations per second.
每秒迭代求解次数。
sphereCollidersAn array of ClothSphereColliderPairs which this Cloth instance should collide with.
将要与布料实例发生碰撞的布料碰撞球对的列表数组。
stretchingStiffnessStretching stiffness of the cloth.
布料的韧性(可拉伸的程度)。
useContinuousCollisionEnable continuous collision to improve collision stability.
启用连续碰撞提高碰撞的稳定性。
useGravityShould gravity affect the cloth simulation?
是否重力影响布料模拟?
useVirtualParticlesAdd one virtual particle per triangle to improve collision stability.
每个三角添加一个虚拟粒子提高碰撞稳定性。
verticesThe current vertex positions of the cloth object.
布料实例的当前顶点的位置
worldAccelerationScaleHow much world-space acceleration of the character will affect cloth vertices.
影响布料顶点的角色外力的世界空间的的范围大小。
worldVelocityScaleHow much world-space movement of the character will affect cloth vertices.
将要影响布料顶点的角色运动的世界空间的范围大小。

Public Functions 公共函数

script/unityengine/classes/cloth/cloth.txt · 最后更改: 2016/08/02 05:25 (外部编辑)