Component:DebugTestMeshThroughput

From Resonite Wiki
Component image 
Debug Test Mesh Throughput component as seen in the Scene Inspector

The DebugTestMeshThroughput component is used in code by parallel jamming quads into a MeshX object via multithreading to test how much can be done at once.

The mesh generated is a Spiral fan of quads that goes up in a circle pattern.

This game element is a debug item. Elements like this may be removed at any time without warning, and creations should not rely on it.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
OverrideBoundingBox Bool Force the bounding box calculated from this component to use OverridenBoundingBox instead of calculating when requested.
OverridenBoundingBox BoundingBox the bounding box this component should say it has when OverrideBoundingBox is enabled. Useful for bounding box calculations with Flux, or changing the selection box for this component when rendered.
Profile ColorProfile The profile that the vertex colors for this mesh should be displayed in.
Count Int How many mesh quads to parrallel jam into the meshx data.
Progress Float How much to offset the quads by in rotation.
UpdateTime raw output of Float How long it took for the Asset to update.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
BakeMesh:Action Action X Bake meshes is a sync method that creates a static mesh component with this component, replaces all references to this component with the static mesh component, then deletes this component.

Usage

Debugging MeshX parallel speed.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also