AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPhysics.RayCastSprite Property

Returns the sprite hit in the most recent ray cast check.

Syntax
Pascal
class property RayCastSprite: TAgkSprite;

If the ray hit a non-sprite shape 0 will be returned.

Copyright (c) 2012. All rights reserved.