Skip to main content

Module scene3d

Module scene3d 

Source
Expand description

Synthetic 3D objects, built from public format facts and typed values.

Modules§

anim
Minimal embedded trees for animation discovery and binding tests.
mesh
Hand-built Mesh writers using the testkit’s typed values. These are synthetic layouts, from the pinned MIT class definitions and meshdecode’s existing synthetic fixtures; no generated typetrees or input data are used.

Enums§

Layout
Engine versions exercised by scene tests. Graph fields have the same shape in these versions; the file’s version identifies each case.

Functions§

file
A file with independently typed objects, preserving caller table order. All trees are hand-built from these values; no external schema is read.
game_object
A GameObject’s dict facts, with modern ComponentPairs.
legacy_game_object
The legacy 5.4 (class id, PPtr) component representation (Tier B).
lod_group
One LOD and an LODGroup with those levels in order.
material
A Material with explicitly supplied properties and default render queue. Entries are kept in caller order; duplicate names can exercise hostile input.
mesh_filter
MeshFilter facts.
mesh_renderer
Renderer facts, including a static batch and the legacy subset list.
pointers
An ordered pointer array, including nulls.
set
Set or append a dict field in a synthetic struct.
shader
A Shader’s legacy name and modern parsed-form name, read by full parse.
skinned_mesh_renderer
Skin references and blend weights, reusing renderer facts.
tex_env
A texture environment in Unity’s bottom-left UV space.
transform
Identity local TRS, with caller-chosen hierarchy links. Change fields with ngui::set_field for non-identity or hostile cases.
xyz
A vector3 or quaternion.