Skip to content

Latest commit

 

History

History
153 lines (68 loc) · 2.02 KB

File metadata and controls

153 lines (68 loc) · 2.02 KB

Home > server > ModelEntityOptions

ModelEntityOptions interface

The options for creating a model entity.

Signature:

export interface ModelEntityOptions extends BaseEntityOptions 

Extends: BaseEntityOptions

Properties

Property

Modifiers

Type

Description

modelAnimationsPlaybackRate?

number

(Optional) The playback rate of the entity's model animations.

modelHiddenNodes?

string[]

(Optional) The nodes to hide on the entity's model.

modelLoopedAnimations?

string[]

(Optional) The looped animations to start when the entity is spawned.

modelPreferredShape?

ColliderShape

(Optional) The preferred shape of the entity's model when automatically generating its collider when no explicit colliders are provided.

modelScale?

number

(Optional) The scale of the entity's model.

modelUri?

string

(Optional) The URI or path to the .gltf model asset to be used for the entity.