Method SetReferenceSize
SetReferenceSize(int, int)
Sets the reference rendering size for subsequent rendering for the RTHandle System
Declaration
public void SetReferenceSize(int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | Reference rendering width for subsequent rendering. |
| int | height | Reference rendering height for subsequent rendering. |
SetReferenceSize(int, int, bool)
Sets the reference rendering size for subsequent rendering for the RTHandle System
Declaration
public void SetReferenceSize(int width, int height, bool reset)
Parameters
| Type | Name | Description |
|---|---|---|
| int | width | Reference rendering width for subsequent rendering. |
| int | height | Reference rendering height for subsequent rendering. |
| bool | reset | If set to true, the new width and height will override the old values even if they are not bigger. |