Skip to main content

SkinMeshRenderer

ClassTypeNameInterface Description
MeshRenderer.RendererVariablesmesh: Mesh

Mesh corresponding to the Renderer

VariablesmainMaterial: Material | null

The first material of the Renderer

VariablesmainPass (readonly): Pass | null

The first Pass of the first material of the Renderer

FunctionsgetBoundingBox(): AABB

Bounding box of the Renderer

Examples

mesh: Mesh

const mesh = meshRenderer.mesh;

mainMaterial: Material | null

const material = meshRenderer.mainMaterial();

mainPass (readonly): Pass | null

const pass = meshRenderer.mainPass();

getBoundingBox(): AABB

const box = meshRenderer.getBoundingBox();
Copyright © 2025 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalCookies