# Set Camera Channel On Portrait

Grammar — Set camera from camera for player player to render-to-texture channel channel using aspect ratio aspectRatio|AspectRatio on portrait portrait
FlagsNative | Action

In order to use this, you must first create a portrait through triggers. You can then use this action to have a camera object on that portrait render to a render-to-texture channel.

# Arguments

  • int — Player
  • camerainfo — Camera
  • fixed — Aspect Ratio
  • int<portrait> — Portrait
  • int — Channel

Returns — void

native void CameraSetChannelOnPortrait(
	int player,
	camerainfo c,
	fixed aspectRatio,
	int portraitId,
	int channel,
);

Category: Camera / Basic

# Examples

— None found —