Overview
TheModelRenderer record represents a blueprint renderer that manages the lifecycle of rendered models. It provides methods to create trackers for both location-based (dummy) and entity-based rendering, with support for model profiles and customization.
Record Components
Query Methods
groupByTree
name- The bone name to search for
flatten
animation
name- The animation name
Creating Location-Based Trackers
Basic Creation
location- The world location for the modelmodifier- (Optional) Modifier for tracker behavior, defaults toTrackerModifier.DEFAULTpreUpdateConsumer- (Optional) Consumer executed before each update tick
DummyTracker instance
Example:
With Model Profile
location- The world locationprofile- The model profile or its uncompleted variantmodifier- (Optional) Tracker modifierpreUpdateConsumer- (Optional) Pre-update callback
Creating Entity-Based Trackers
Basic Entity Trackers
entity- The platform entity or BaseEntity to attach tomodifier- (Optional) Tracker modifierpreUpdateConsumer- (Optional) Pre-update callback
EntityTracker instance
Example:
Entity Trackers with Profile
Get or Create Pattern
EntityTracker
Example:
BaseEntity Variants
AllPlatformEntity methods have corresponding BaseEntity variants:
BaseEntity instead of PlatformEntity.
Example:
Renderer Type
- GENERAL - Standard models that can be saved
- PLAYER - Player-specific models that cannot be saved
Complete Example
See Also
- RenderPipeline - The rendering pipeline created by trackers
- RenderSource - Source abstraction for rendering context
- Tracker - Base tracker interface
- Blueprint - Blueprint that contains the renderer
