struct in UnityEngine
Script interface for the Shape module.
形状模块的脚本接口。
angle | Angle of the cone. 圆锥的角度。 |
arc | Circle arc angle. 圆弧角度。 |
box | Scale of the box. box的缩放。 |
enabled | Enable/disable the Shape module. 启用/禁用形状模块。 |
length | Length of the cone. 圆锥的长度。 |
mesh | Mesh to emit particles from. 从网格发射粒子。 |
meshMaterialIndex | Emit particles from a single material of a mesh. 从单个材质的网格发射粒子。 |
meshRenderer | MeshRenderer to emit particles from. 从网格渲染去发射粒子。 |
meshShapeType | Where on the mesh to emit particles from. 从网格的哪里发射粒子。 |
normalOffset | Move particles away from the surface of the source mesh. 移动粒子远离源网格的表面。 |
radius | Radius of the shape. 形状的半径。 |
randomDirection | Randomizes the starting direction of particles. 粒子的随机开始方向。 |
shapeType | Type of shape to emit particles from. 发射粒子的形状类型。 |
skinnedMeshRenderer | SkinnedMeshRenderer to emit particles from. 从网格渲染蒙皮发射粒子。 |
useMeshColors | Modulate the particle colours with the vertex colors, or the material color if no vertex colors exist. 使用顶点颜色调节粒子颜色,或者如果当前没有顶点颜色则使用材质颜色。 |
useMeshMaterialIndex | Emit from a single material, or the whole mesh. 从单个材质或者整个网格发射。 |