DrawCornerSelectionObject

Needs documentation.

Derived From

DrawObject

Project

CoreRules

Include

DrawCornerSelectionObject.h

Summary
Needs documentation.
Returns whether anything in the DrawCornerSelectionObject can be selected.

Functions

CanSelect

virtual bool CanSelect(const Vector &origin,
const Vector &ray,
float &distance,
wxInt32 &id)

Returns whether anything in the DrawCornerSelectionObject can be selected.

Parameters

originThe origin point of the selection ray.
rayThe selection ray direction.
distanceFilled with the outgoing distance the object is from the ray origin, if the object is selectable.
idFilled with the ougoing id of the selectable IGameObject, if the object is selectable.

Returns

A bool that is true if the object can be selected and false if not.

virtual bool CanSelect(const Vector &origin,
const Vector &ray,
float &distance,
wxInt32 &id)
Returns whether anything in the DrawCornerSelectionObject can be selected.
A class that provides a default implementation of IDrawObject.
An interface for all game objects.