L_VecIsObjectHidden

#include "lvkrn.h"

L_BOOL EXT_FUNCTION L_VecIsObjectHidden(pVector, pObject)

const pVECTORHANDLE pVector;

/* pointer to a vector handle */

const pVECTOROBJECT pObject;

/* pointer to a vector object */

Returns a value that indicates whether or not the specified object is hidden.

Parameter

Description

pVector

Pointer to a vector handle.

pObject

Pointer to a vector object.

Returns

TRUE

The specified object is hidden.

FALSE

The specified object is not hidden.

Comments

If pObject is NULL and any object inside the vector handle is currently hidden, this function will return TRUE.

This function is not supported in the OpenGL and DirectX engines.

Required DLLs and Libraries

LVKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_VecHideObject, L_VecGetObject, L_VecSetObject, L_VecSelectObject, L_VecIsObjectSelected, L_VecDeleteObject, L_VecHitTest

Example

/* This example will determine whether the given object is hidden or not */

 
void TestObject ( pVECTORHANDLE pVector, pVECTOROBJECT pObject)
{
   if( L_VecIsObjectHidden( pVector, pObject ) )
      MessageBox( NULL, TEXT("Object is hidden"), TEXT("Test"), MB_OK );
   else
      MessageBox( NULL, TEXT("Object is visible"), TEXT("Test"), MB_OK );