您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
540 B
540 B
Screen Node
Description
Provides access to parameters of the screen.
Ports
Name | Direction | Type | Binding | Description |
---|---|---|---|---|
Width | Output | Vector 1 | None | Screen's width in pixels |
Height | Output | Vector 1 | None | Screen's height in pixels |
Generated Code Example
The following example code represents one possible outcome of this node.
float _Screen_Width = _ScreenParams.x;
float _Screen_Height = _ScreenParams.y;