diff options
| author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-06 15:12:42 -0500 |
|---|---|---|
| committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-11-06 15:12:42 -0500 |
| commit | eb84bb298d2b95aec7b2ae12cbf25ac64f25379a (patch) | |
| tree | efd616a157df06ab661c6d56651853431ac6b08b /VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleSkinnedMeshDescription.cs | |
| download | unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.gz unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.tar.bz2 unityprojects-eb84bb298d2b95aec7b2ae12cbf25ac64f25379a.zip | |
move to self host
Diffstat (limited to 'VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleSkinnedMeshDescription.cs')
| -rw-r--r-- | VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleSkinnedMeshDescription.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleSkinnedMeshDescription.cs b/VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleSkinnedMeshDescription.cs new file mode 100644 index 00000000..65ac92a9 --- /dev/null +++ b/VRCSDK3Worlds/Assets/MeshBaker/Examples/SceneRuntimeExample/MB_ExampleSkinnedMeshDescription.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using System.Collections; + +public class MB_ExampleSkinnedMeshDescription : MonoBehaviour { + + void OnGUI(){ + GUILayout.Label ("Mesh Renderer objects have been baked into a skinned mesh. Each source object\n" + + " is still in the scene (with renderer disabled) and becomes a bone. Any scripts, animations,\n" + + " or physics that affect the invisible source objects will be visible in the\n" + + "Skinned Mesh." + + " This approach is more efficient than either dynamic batching or updating every frame \n" + + " for many small objects that constantly and independently move. \n" + + " With this approach pay attention to the SkinnedMeshRenderer Bounds and Animation Culling\n" + + "settings. You may need to write your own script to manage/update these or your object may vanish or stop animating.\n" + + " You can update the combined mesh at runtime as objects are added and deleted from the scene."); + } +} |