|
Kanzi Graphics Engine
|
Empty object node. More...
#include <user/scene_graph/kzu_object_common.h>#include <system/kzs_types.h>#include <system/debug/kzs_error.h>#include <system/kzs_header.h>Functions | |
| kzsError | kzuEmptyNodeRegisterToFactory (const struct KzuFactory *factory) |
| Registers empty node type to factory. More... | |
| kzsError | kzuEmptyNodeCreate (const struct KzcMemoryManager *memoryManager, kzString name, struct KzuUIDomain *uiDomain, struct KzuObjectNode **out_emptyObjectNode) |
| Creates an empty object node. More... | |
Variables | |
| KZ_HEADER_BEGIN const KzuObjectType | KZU_OBJECT_TYPE_EMPTY |
| Object type identifier for empty objects. More... | |
Empty object node.
The empty node is a KzuObjectNode that behaves differently when its parent is a KzuUiComponentNode. When the parent is not a KzuUiComponentNode, the empty node does not layout its children in any way, but when the parent is a KzuUiComponentNode, the empty node acts as if it calculates a center point of the children and causes the children's transformation be relative to the point.
Copyright 2008-2019 by Rightware. All rights reserved.
| kzsError kzuEmptyNodeRegisterToFactory | ( | const struct KzuFactory * | factory) |
Registers empty node type to factory.
| kzsError kzuEmptyNodeCreate | ( | const struct KzcMemoryManager * | memoryManager, |
| kzString | name, | ||
| struct KzuUIDomain * | uiDomain, | ||
| struct KzuObjectNode ** | out_emptyObjectNode | ||
| ) |
Creates an empty object node.
| KZ_HEADER_BEGIN const KzuObjectType KZU_OBJECT_TYPE_EMPTY |
Object type identifier for empty objects.