Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetEnclosingGenericShapeOfType
Syntax
C++
int GetEnclosingGenericShapeOfType(IFunctionHandler * pH);
Parameters 
Description 
position 
the position to check 
type 
the type of the shapes to check against (uses anchor types). 
checkHeight 
(optional) Default=false, if the flag is set the height of the shape is tested too. The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height.
GetEnclosingGenericShapeOfType 

Syntax: AI.GetEnclosingGenericShapeOfType(position, type[, checkHeight]) 

Returns the name of the first shape that is enclosing the specified point and is of specified type

Copyright (c) 2012. All rights reserved.