Description
The ShouldShowMorphsEditor
property of the SkinnedModelRenderer
class indicates whether the morphs editor should be displayed for the skinned model. This property is useful for developers who need to control the visibility of the morphs editor in the user interface, allowing for a more customized and streamlined editing experience.
Usage
To use the ShouldShowMorphsEditor
property, simply access it from an instance of the SkinnedModelRenderer
class. You can set it to true
to display the morphs editor or false
to hide it.
Example
// Example of using the ShouldShowMorphsEditor property
// Create an instance of SkinnedModelRenderer
SkinnedModelRenderer skinnedModelRenderer = new SkinnedModelRenderer();
// Set the ShouldShowMorphsEditor property to true to show the morphs editor
skinnedModelRenderer.ShouldShowMorphsEditor = true;
// Check if the morphs editor is set to be shown
bool isMorphsEditorVisible = skinnedModelRenderer.ShouldShowMorphsEditor;
// Output the result
// isMorphsEditorVisible should be true