🧾
Ica Skinned Mesh Docs
  • Quick Setup
  • Ica Skinner
  • Attachment Skinner
  • Runtime Usage
  • Motion Vectors Setup
  • FAQ
  • Limitations
  • References
  • Links
    • Unity Asset Store
    • Unity Forum
Powered by GitBook
On this page
  • Runtime API may change in the future versions!
  • Changing skinner mesh runtime

Runtime Usage

PreviousAttachment SkinnerNextMotion Vectors Setup

Last updated 4 months ago

Runtime API may change in the future versions!

Ica Skinners only handles the deformation part of the work and rendering part are done by built-in Mesh Renderer and Mesh Filter components. To do that Ica Skinners adds a mesh Filter and a Mesh Renderer component to same game object.

To change anything related to rendering part use the as is.

Ica skinner gets the skinned mesh specific options from SMR. To change blend shape values from code, just change the SMR, IcaSkinner will get the values from it at every frame.

Changing skinner mesh runtime

Ica Skinner and Ica Attachment Skinner caches some data on OnEnable. If you like change the shared mesh of these skinners, you need the invalidate caches by just disabling the components, do the change and enable them again.

Example for Ica Skinner: MyIcaSkinner.enabled = false; MySkinnedMeshRenderer.shraed mesh = MyNewMesh; MyIcaSkinner.enabled = true;

Mesh Renderer