Kanzi Graphics Engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
kzu_debug_object_generator.h File Reference

Utilities for creating objects for debugging purposes. More...

Functions

kzsError kzuDebugObjectGeneratorCreateSphere (const struct KzcMemoryManager *memoryManager, const struct KzuEngine *engine, struct KzuUIDomain *uiDomain, kzUint index, kzUint sequenceLength, const struct KzuObjectNode **out_object)
 Creates a sphere object node that can be used for debugging. More...
 

Detailed Description

Utilities for creating objects for debugging purposes.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuDebugObjectGeneratorCreateSphere ( const struct KzcMemoryManager memoryManager,
const struct KzuEngine engine,
struct KzuUIDomain uiDomain,
kzUint  index,
kzUint  sequenceLength,
const struct KzuObjectNode **  out_object 
)

Creates a sphere object node that can be used for debugging.

Can be used to create sequences of different colored and sized objects for debugging.

Parameters
indexIndex of object in sequence.
sequenceLengthLength of sequence. Sequence loops after this many objects.