Lib.render.scene.DrawScene - tixl3d/tixl GitHub Wiki

DrawScene

in Lib.render.scene


Draw the connected SceneSetup.

You can use [LoadGltfScene] to load a scene.


Input Parameters

Name (Relevancy & Type) Description
Scene (SceneSetupRequired) Scene Input from [LoadGltfScene]-Op
Color (Vector4) Defines the color and alpha with which the loaded scene is colored / changed.
UseSceneMaterials (Boolean) If enabled Tool uses the materials from the SceneSetup.
If disabled these materials are ignored and the material defined by [SetMaterial] in the context will be used.
UseMaterialId (String) If Scene materials are disabled you can select a context material defined with [DefineMaterials].
BlendMode (Int32) Defines how the scene / geometry / materials are rendered.
FillMode (Int32) Defines whether the surfaces are rendered normally or as wireframe (with colors of the materials).
Culling (CullMode) Defines the transparency of the surfaces.
None: All surfaces are "bothsided" or always visible from all sides
Front: The normals are flipped (frontside is transparent / backside visible)
Back: Default (Frontside is visible / backside is invisible)
EnableZTest (Boolean) If enabled discards fragments sorted out by z-buffer.

This defines whether the mesh covers itself or is covered by or covers other meshes.
EnableZWrite (Boolean) This defines whether the mesh covers itself or is covered by or covers other meshes.
AlphaCutOff (Single) Defines the threshold value from which a transparent surface is rendered as such
Filter (Filter) Defines which filter method is used to render the textures.
WrapMode (TextureAddressMode) Defines how a texture is displayed at the edge when repeated.

Outputs

Name Type
Output T3.Core.DataTypes.Command

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️