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

Specifies distance filter. More...

Functions

kzsError kzuDistanceFilterCreate (const struct KzcMemoryManager *memoryManager, struct KzuUIDomain *uiDomain, struct KzuObjectSource *input, kzString name, struct KzuObjectNode *object, const kzFloat maxDistance, kzBool isExclusive, struct KzuObjectSource **out_objectSource)
 Creates distance filter. More...
 

Detailed Description

Specifies distance filter.

Distance filter accepts or rejects objects that are within given range from specified object.

Copyright 2008-2019 by Rightware. All rights reserved.

Function Documentation

kzsError kzuDistanceFilterCreate ( const struct KzcMemoryManager memoryManager,
struct KzuUIDomain uiDomain,
struct KzuObjectSource input,
kzString  name,
struct KzuObjectNode object,
const kzFloat  maxDistance,
kzBool  isExclusive,
struct KzuObjectSource **  out_objectSource 
)

Creates distance filter.

All objects that are nearer than given maxDistance from given object are either accepted or rejected depending on whether isExclusive is set or not.