WorldRender Module
Rendering functions for the world.
Type extensions
Type extension | Description |
Full Usage:
World.createUserDefinedStaticModel surfaceDescriptors bounds staticModel world
Parameters:
StaticModelSurfaceDescriptor array
bounds : Box3
staticModel : StaticModel AssetTag
world : World
|
Extended Type:
|
Full Usage:
World.destroyUserDefinedStaticModel staticModel world
Parameters:
StaticModel AssetTag
world : World
|
|
Full Usage:
World.enqueueLayeredOperation2d operation world
Parameters:
LayeredOperation2d
world : World
|
|
Full Usage:
World.enqueueLayeredOperations2d operations world
Parameters:
LayeredOperation2d seq
world : World
|
|
Full Usage:
World.enqueueRenderMessage2d message world
Parameters:
RenderMessage2d
world : World
|
|
Full Usage:
World.enqueueRenderMessage3d message world
Parameters:
RenderMessage3d
world : World
|
|
Full Usage:
World.enqueueRenderMessageImGui message world
Parameters:
RenderMessageImGui
world : World
|
|
Full Usage:
World.enqueueRenderMessages2d messages world
Parameters:
RenderMessage2d seq
world : World
|
|
Full Usage:
World.enqueueRenderMessages3d messages world
Parameters:
RenderMessage3d seq
world : World
|
|
|
|
Full Usage:
World.loadRenderPackage2d packageName world
Parameters:
string
world : World
|
|
Full Usage:
World.loadRenderPackage3d packageName world
Parameters:
string
world : World
|
|
Full Usage:
World.mapRenderer3dConfig mapper world
Parameters:
Renderer3dConfig -> Renderer3dConfig
world : World
|
|
|
|
|
|
|
|
Full Usage:
World.renderAnimatedModelFast (modelMatrix, castShadow, presence, insetOpt, materialProperties, animations, animatedModel, subsortOffsets, drsIndices, depthTest, renderType, renderPass, world)
Parameters:
inref<Matrix4x4>
castShadow : bool
presence : Presence
insetOpt : Box2 voption
materialProperties : inref<MaterialProperties>
animations : Matrix4x4 array
animatedModel : AnimatedModel AssetTag
subsortOffsets : Map<int, single>
drsIndices : Set<int>
depthTest : DepthTest
renderType : RenderType
renderPass : RenderPass
world : World
|
Extended Type:
|
Full Usage:
World.renderGuiText absolute perimeter offset elevation shift clipOpt justification cursorOpt textMargin color font fontSizing fontStyling text world
Parameters:
bool
perimeter : Box3
offset : Vector3
elevation : single
shift : single
clipOpt : Box2 voption
justification : Justification
cursorOpt : int option
textMargin : Vector3
color : Color
font : Font AssetTag
fontSizing : int option
fontStyling : Set<FontStyle>
text : string
world : World
|
Extended Type:
|
Full Usage:
World.renderLayeredSpriteFast (elevation, horizon, assetTag, transform, insetOpt, clipOpt, image, color, blend, emission, flip, world)
Parameters:
single
horizon : single
assetTag : AssetTag
transform : inref<Transform>
insetOpt : inref<ValueOption<Box2>>
clipOpt : inref<ValueOption<Box2>>
image : Image AssetTag
color : inref<Color>
blend : Blend
emission : inref<Color>
flip : Flip
world : World
|
Extended Type:
|
Full Usage:
World.renderStaticModelFast (modelMatrix, castShadow, presence, insetOpt, materialProperties, staticModel, clipped, depthTest, renderType, renderPass, world)
Parameters:
inref<Matrix4x4>
castShadow : bool
presence : Presence
insetOpt : Box2 voption
materialProperties : inref<MaterialProperties>
staticModel : StaticModel AssetTag
clipped : bool
depthTest : DepthTest
renderType : RenderType
renderPass : RenderPass
world : World
|
Extended Type:
|
Full Usage:
World.renderStaticModelSurfaceFast (modelMatrix, castShadow, presence, insetOpt, materialProperties, material, staticModel, surfaceIndex, depthTest, renderType, renderPass, world)
Parameters:
inref<Matrix4x4>
castShadow : bool
presence : Presence
insetOpt : Box2 voption
materialProperties : inref<MaterialProperties>
material : inref<Material>
staticModel : StaticModel AssetTag
surfaceIndex : int
depthTest : DepthTest
renderType : RenderType
renderPass : RenderPass
world : World
|
Extended Type:
|
Full Usage:
World.setRenderer3dConfig config world
Parameters:
Renderer3dConfig
world : World
|
|
Full Usage:
World.unloadRenderPackage2d packageName world
Parameters:
string
world : World
|
|
Full Usage:
World.unloadRenderPackage3d packageName world
Parameters:
string
world : World
|