Summary

Renders a model in the world

Constructors

ModelRenderer

Properties

BodyGroups
Bounds
CreateAttachments
HasBodyGroups
HasMaterialGroups
LocalBounds
MaterialGroup
MaterialOverride
Materials Access to the materials
Model
RenderType
SceneObject
Tint

Methods

ClearMaterialOverrides Completely stop overriding materials
CopyFrom Copy everything from another renderer
GetAttachmentObject Get the GameObject of a specific attachment.
GetBodyGroup Get body group value by name
GetBoneObject
GetMaterial
SetBodyGroup Set body group value by name
SetMaterial
SetMaterialOverride Set a material override for a material with a specific attribute set. For example, if you have a model with lots of different materials, but one of them has an attribute "skin" set to "1", then calling this with a material and "skin" will override only that material.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.