Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


gpuSkinning

Deprecated. Use PlayerSettings.meshDeformation instead.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. PlayerSettings.gpuSkinning is deprecated and will be removed in a future release. Use PlayerSettings.meshDeformation instead.
public static bool gpuSkinning { get; set; }

Remarks

If you change the value of
gpuSkinning
, Unity sets
PlayerSettings.meshDeformation
in the following way:
  • If you set
    gpuSkinning
    to false, Unity sets
    PlayerSettings.meshDeformation
    to
    MeshDeformation.CPU
    .
  • If you set
    gpuSkinning
    to true, Unity sets
    PlayerSettings.meshDeformation
    to
    MeshDeformation.GPUBatched
    .