Skip to main content Link Menu Expand (external link) Document Search Copy Copied

MeshBaker Public class

Description

This component contains functionality to bake a mesh.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph Rhinox.XR.Grapple.It
  Rhinox.XR.Grapple.It.MeshBaker[[MeshBaker]]
  end
  subgraph UnityEngine
UnityEngine.MonoBehaviour[[MonoBehaviour]]
  end
UnityEngine.MonoBehaviour --> Rhinox.XR.Grapple.It.MeshBaker

Members

Methods

Public methods

Returns Name
void BakeMesh(RhinoxHand hand, bool disableRenderer)
Bakes the meshes for the given hand. If disableRenderer is true, the original hand will not be rendered.
void BakeMeshAndParentToTransform(RhinoxHand hand, Transform parent, bool disableRenderer)
Bakes the meshes for the given hand and parents them to the specified Transform.
If disableRenderer is true, the original hand will not be rendered.
void DestroyBakedObjects(RhinoxHand hand)
Destroys all baked meshes for the given hand on this MeshBaker.

Details

Summary

This component contains functionality to bake a mesh.

Inheritance

  • MonoBehaviour

Constructors

MeshBaker

public MeshBaker()

Methods

BakeMesh

public void BakeMesh(RhinoxHand hand, bool disableRenderer)
Arguments
Type Name Description
RhinoxHand hand The hand to bake.
bool disableRenderer Optional parameter to specify if the original hand should continue rendering.
Summary

Bakes the meshes for the given hand. If disableRenderer is true, the original hand will not be rendered.

BakeMeshAndParentToTransform

public void BakeMeshAndParentToTransform(RhinoxHand hand, Transform parent, bool disableRenderer)
Arguments
Type Name Description
RhinoxHand hand The hand to bake.
Transform parent The transform to parent the baked mesh to.
bool disableRenderer Optional parameter to specify if the original hand should continue rendering.
Summary

Bakes the meshes for the given hand and parents them to the specified Transform. If disableRenderer is true, the original hand will not be rendered.

DestroyBakedObjects

public void DestroyBakedObjects(RhinoxHand hand)
Arguments
Type Name Description
RhinoxHand hand  
Summary

Destroys all baked meshes for the given hand on this MeshBaker.

Generated with ModularDoc