I love the smell of UnrealEd crashing in the morning. – tarquin
UE1:Canvas (RTNP)
Object >> Canvas |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Canvas: A drawing canvas. This is a built-in Unreal class and it shouldn't be modified.
Notes. To determine size of a drawable object, set Style to STY_None, remember CurX, draw the thing, then inspect CurX and CurYL.
Properties[edit]
bCenter[edit]
Type: bool
Whether to center the text.
BigFont[edit]
Type: Font
Big system font.
Default value: Font'Engine.BigFont'
bNoSmooth[edit]
Type: bool
Don't bilinear filter.
ClipX[edit]
Type: float
ClipY[edit]
Type: float
Bottom right clipping region.
CurX[edit]
Type: float
CurY[edit]
Type: float
Current position for drawing.
CurYL[edit]
Type: float
Largest Y size since DrawText.
DrawColor[edit]
Type: Object.Color
Color for drawing.
Default value:
Member | Value |
---|---|
B | 127 |
G | 127 |
R | 127 |
Font[edit]
Type: Font
Font for DrawText.
FramePtr[edit]
Type: int
Modifiers: const
Scene frame pointer.
LargeFont[edit]
Type: Font
Default value: Font'Engine.LargeFont'
MedFont[edit]
Type: Font
Medium system font.
Default value: Font'Engine.MedFont'
OrgX[edit]
Type: float
OrgY[edit]
Type: float
Origin for drawing.
RenderPtr[edit]
Type: int
Modifiers: const
SizeX[edit]
Type: int
Modifiers: const
SizeY[edit]
Type: int
Modifiers: const
SmallFont[edit]
Type: Font
Small system font.
Default value: Font'Engine.SmallFont'
SpaceX[edit]
Type: float
SpaceY[edit]
Type: float
Spacing for after Draw*.
Style[edit]
Type: byte
Drawing style STY_None means don't draw.
Default value: 1
Viewport[edit]
Type: Viewport
Modifiers: const
Viewport that owns the canvas.
Z[edit]
Type: float
Z location. 1=no screenflash, 2=yes screenflash.
Default value: 1.0