public TranslationGlyp(Igneel.Rectangle rect) : base(rect) { planes[0] = new Plane(Vector3.Zero, new Vector3(1, 0, 0)); //YZ planes[1] = new Plane(Vector3.Zero, new Vector3(0, 1, 0)); //XZ planes[2] = new Plane(Vector3.Zero, new Vector3(0, 0, 1)); //XY }
public DecalGlyp(Igneel.Rectangle screenRectangle) { IsDesignOnly = true; IsTransparent = false; decal = screenRectangle; renderTarget = new RenderTexture2D(decal.Width, decal.Height, Format.R8G8B8A8_UNORM_SRGB, Format.D24_UNORM_S8_UINT); hitTester = new DecalGlypHitTest(decal.Width, decal.Height, Format.D24_UNORM_S8_UINT, this); components = new GlypComponent[0]; SetupRender(); }
public CoordinateGlyp(Igneel.Rectangle rect) : base(rect) { }