# SkinnedMeshRenderer

It is a skinned mesh renderer, which needs to be used with Mesh with skinned bones, and is generally used in conjunction with the animation system.

Like MeshRenderer, there are two ways to create it.

# Create with the solution tool

It can be seen that there is only one more option for the skeleton.

# Create with code

entity.addComponent(engine.SkinnedMeshRenderer);

Others are no different from using MeshRenderer. For more information, please refer to the animation system.

点击咨询小助手