Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SkinnedMeshRenderer

The Skinned Mesh filter.
Read time 9 minutesLast updated 2 days ago

Definition

public class SkinnedMeshRenderer : Renderer

Properties

Property

Description

bonesThe bones used to skin the mesh.
forceMatrixRecalculationPerRenderForces the Skinned Mesh to recalculate its matricies when rendered
qualityThe maximum number of bones per vertex that are taken into account during skinning.
sharedMeshThe mesh used for skinning.
skinnedMotionVectorsSpecifies whether skinned motion vectors should be used for this renderer.
updateWhenOffscreenIf enabled, the Skinned Mesh will be updated when offscreen. If disabled, this also disables updating animations.
vertexBufferTargetThe intended target usage of the skinned mesh GPU vertex buffer.

Methods

Method

Description

BakeMeshCreates a snapshot of SkinnedMeshRenderer and stores it in mesh.
GetBlendShapeWeightReturns the weight of a BlendShape for this Renderer.
GetPreviousVertexBufferRetrieves a GraphicsBuffer that provides direct access to the GPU vertex buffer for this skinned mesh, for the previous frame.
GetVertexBufferRetrieves a GraphicsBuffer that provides direct access to the GPU vertex buffer for this skinned mesh, for the current frame.
SetBlendShapeWeightSets the weight of a BlendShape for this Renderer.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.