ScreenTextureSizeMode
Defines the size modes for screen textures.
| Type | Name | Interface Description |
|---|---|---|
| Enum | Custom | |
| Enum | FollowInput | |
| Enum | FollowScreen |
Examples
Custom
let value = APJS.ScreenTextureSizeMode.Custom;
FollowInput
let value = APJS.ScreenTextureSizeMode.FollowInput;
FollowScreen
let value = APJS.ScreenTextureSizeMode.FollowScreen;
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use ScreenTextureSizeMode here
}
onUpdate(deltaTime: number) {
}
}