IsOn3D
Introduction
IsOn3D and Text
using FlatRedBall.Graphics;
using FlatRedBall.Input;Text text;IsMouseVisible = true;
text = TextManager.AddText("Hi, I am some text.");
text.X = .1f; // do this so the text doesn't appear between pixels
text.Y = .1f;bool relativeToCamera = false;
if (InputManager.Mouse.IsOn3D(text, relativeToCamera))
{
text.Red = 1;
}
else
{
text.Red = 0;
}
Working with Multiple Cameras
Selecting multiple objects

Last updated
Was this helpful?