Header menu logo Nu

WorldEntityHierarchyExtensions Module

Type extensions

Type extension Description

World.freezeEntityHierarchy surfaceMaterialsPopulated parent world

Full Usage: World.freezeEntityHierarchy surfaceMaterialsPopulated parent world

Parameters:
    surfaceMaterialsPopulated : bool
    parent : Entity
    world : World

Returns: StaticModelSurfacePreBatch array * (Box3 * Matrix4x4 * StaticModel AssetTag * int * NavShape * Affine * BodyShape) array * World

Attempt to freeze an entity hierarchy where certain types of children's rendering functionality are baked into a manually renderable array.

Extended Type: World

surfaceMaterialsPopulated : bool
parent : Entity
world : World
Returns: StaticModelSurfacePreBatch array * (Box3 * Matrix4x4 * StaticModel AssetTag * int * NavShape * Affine * BodyShape) array * World

World.thawEntityHierarchy presenceConferred parent world

Full Usage: World.thawEntityHierarchy presenceConferred parent world

Parameters:

Attempt to thaw an entity hierarchy where certain types of children's rendering functionality were baked into a manually renderable array.

Extended Type: World

presenceConferred : Presence
parent : Entity
world : World

World.tryImportEntityHierarchy presenceConferred staticModel surfaceMaterialsPopulated profile rigid parent world

Full Usage: World.tryImportEntityHierarchy presenceConferred staticModel surfaceMaterialsPopulated profile rigid parent world

Parameters:

Attempt to import a static model hierarchy below the target entity.

Extended Type: World

presenceConferred : Presence
staticModel : StaticModel AssetTag
surfaceMaterialsPopulated : bool
profile : Profile
rigid : bool
parent : Either<Group, Entity>
world : World

Type something to start searching.