SkinnedMeshRenderer
The Skinned Mesh filter.
Read time 9 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Renderer
public class SkinnedMeshRenderer : Renderer
Properties
Property | Description |
|---|---|
| bones | The bones used to skin the mesh. |
| forceMatrixRecalculationPerRender | Forces the Skinned Mesh to recalculate its matricies when rendered |
| quality | The maximum number of bones per vertex that are taken into account during skinning. |
| sharedMesh | The mesh used for skinning. |
| skinnedMotionVectors | Specifies whether skinned motion vectors should be used for this renderer. |
| updateWhenOffscreen | If enabled, the Skinned Mesh will be updated when offscreen. If disabled, this also disables updating animations. |
| vertexBufferTarget | The intended target usage of the skinned mesh GPU vertex buffer. |
Methods
Method | Description |
|---|---|
| BakeMesh | Creates a snapshot of SkinnedMeshRenderer and stores it in mesh. |
| GetBlendShapeWeight | Returns the weight of a BlendShape for this Renderer. |
| GetPreviousVertexBuffer | Retrieves a GraphicsBuffer that provides direct access to the GPU vertex buffer for this skinned mesh, for the previous frame. |
| GetVertexBuffer | Retrieves a GraphicsBuffer that provides direct access to the GPU vertex buffer for this skinned mesh, for the current frame. |
| SetBlendShapeWeight | Sets the weight of a BlendShape for this Renderer. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |