AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkCamera.HasCamera Property

Whether the current device has a camera.

Syntax
Pascal
class property HasCamera: Boolean;

On some platforms this command enumerates the hardware devices to check for a camera which may be slow. It is not recommended that you call this every frame. On Windows this command will successfully detect a new camera being plugged in whilst the app is running.

Copyright (c) 2012. All rights reserved.