# ECameraSettingsComponent

## GetPlayerController

Get player controller at player index 0.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F9unrn14pvQlTn2zjtqhr%2Fgetplayercontroller.png?alt=media\&token=3442a3d6-331a-4aab-b6ff-b1ebc44593fc)

<table><thead><tr><th width="160.33333333333331">Input / Output</th><th width="134"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The player controller at player index 0.</td></tr></tbody></table>

## GetOwningPawn

Get the pawn that owns this component.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2Fxi1sy2uAIzAO4uhNmjjZ%2Fgetowningpawn.png?alt=media\&token=80b3d996-84e3-4980-9ff9-ddb2a4e37a01)

<table><thead><tr><th width="162.33333333333331">Input / Output</th><th width="137"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The pawn that owns this component.</td></tr></tbody></table>

## GetOwningCamera

Get the `ECameraBase` actor that owns this component.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FQzwNXwQUW9gCJpRDDJMo%2Fgetowningcamera.png?alt=media\&token=dcfdf252-f225-4692-b8e4-e6504af23429)

<table><thead><tr><th width="164.33333333333331">Input / Output</th><th width="141"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The <code>ECameraBase</code> that owns this component.</td></tr></tbody></table>

## GetPlayerCameraManager

Get the player camera manager.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2Fbw4UlVdGsdkx3PsBXsYO%2Fgetplayercameramanager.png?alt=media\&token=801866df-b704-4feb-93eb-c3686508cdd6)

<table><thead><tr><th width="169.33333333333331">Input / Output</th><th width="137"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The player camera manager.</td></tr></tbody></table>

## SetFollowTarget

Set the follow target.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FvwzfAwyeDIhQdyhq24J2%2Fsetfollowtarget.png?alt=media\&token=0b93a637-47bc-4875-a09b-32e3c4a099a6)

<table><thead><tr><th width="158.33333333333331">Input / Output</th><th width="164"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>NewFollowTarget</td><td>The new target actor that serves as the follow target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The new follow target.</td></tr></tbody></table>

## SetFollowSocket

Set follow socket. Also sets FollowComponent's follow socket.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FzTIaTaL9pegQJScOZU47%2Fsetfollowsocket.png?alt=media\&token=c25512da-9e2d-446c-ba08-c86e29e2a6b1)

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>New Follow Socket</td><td>The input new follow socket name.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The input new follow socket name.</td></tr></tbody></table>

## SetFollowSceneComponent

Set follow scene component. Also sets FollowComponent's scene component.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FgptCT5vx3cKDniAsWmks%2Fsetfollow.png?alt=media\&token=4313b3ee-83fe-4f24-8efb-232c3c6f9f8b)

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>New Scene Component</td><td>The input new follow component.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The input new follow component.</td></tr></tbody></table>

## SetAimTarget

Set the aim target.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FBYSzdPNxmZ5SzTHG65jI%2Fsetaimtarget.png?alt=media\&token=c277f8dd-5afa-4c41-a163-cbe580fd45f7)

<table><thead><tr><th width="162.33333333333331">Input / Output</th><th width="147"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>NewAimTarget</td><td>The new target actor that serves as the aim target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The new aim target.</td></tr></tbody></table>

## SetAimSocket

Set follow socket. Also sets FollowComponent's follow socket.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FKFl4s76y6U2BsPJGRlKo%2Fsetaimsocket.png?alt=media\&token=3648643d-189a-4365-bca2-8db40c000309)

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>New Aim Socket</td><td>The input new aim socket name.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The input new aim socket name.</td></tr></tbody></table>

## SetAimSceneComponent

Set aim scene component. Also sets AimComponent's scene component.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FWPDkLK2eLKz5nFp5X2U6%2Fsetaim.png?alt=media\&token=da531fdc-9075-47c6-8d98-1386058e7a40)

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>New Scene Component</td><td>The input new aim component.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The input new aim component.</td></tr></tbody></table>

## GetFollowComponentOfClass

Get FollowComponent onwed by this camera and cast it to a given follow component class.

<div align="left"><figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FRKBOZD2Y5YnhkwZiUPIl%2Ffollow.png?alt=media&#x26;token=8ef80f0b-aa00-4bc3-85c7-da8fc0b0225f" alt=""><figcaption></figcaption></figure></div>

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>Follow Class</td><td>Follow component class.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The <code>FollowComponent</code> of the given Aim Class owned by the target camera.</td></tr></tbody></table>

## GetAimComponentOfClass

Get AimComponent onwed by this camera and cast it to a given aim component class.

<div align="left"><figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2Fs8wGwFRVImB0ZzO6I7n8%2Faim.png?alt=media&#x26;token=a2c07d63-99b4-486b-89ed-1b7cf419012f" alt=""><figcaption></figcaption></figure></div>

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>Aim Class</td><td>Aim component class.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The <code>AimComponent</code> of the given Aim Class owned by the target camera.</td></tr></tbody></table>

## GetExtensionOfClass

Get extension of specified class.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2Fj1F03VqCC6LQAKCDAils%2Fgetextensionofclass.png?alt=media\&token=8d123d3a-42d1-4ce9-ad6c-0f118b42b56d)

<table><thead><tr><th width="168.33333333333331">Input / Output</th><th width="159"></th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td></td><td></td></tr><tr><td></td><td>Target</td><td>A <code>ECameraSettingsComponent</code> target component.</td></tr><tr><td></td><td>ExtensionClass</td><td>The extension class you want to extract from all extensions.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The owned extension of input class.</td></tr></tbody></table>
