---
description: >-
  Reminder: you can do most of you blueprint work by directly accessing class
  variables through the *Get* and *Set* nodes.
---

# ECameraGroupActorComponent

## GetGroupActorLocation

Calculate group actor location according to GroupLocationMethod.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FaHMfFIQReIhqWszkYXER%2Fgetgroupactorlocation.png?alt=media\&token=bb5150ce-343b-4087-9b2a-10d5a56468c0)

<table><thead><tr><th width="153.33333333333331">Input / Output</th><th width="130"></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>EGroupActorComponent</code> target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The calculated group actor location.</td></tr></tbody></table>

## GetGroupActorRotation

Calculate group actor rotation according to GroupRotationMethod.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FnzkFYr5Ixb26Mic9sgI6%2Fgetgroupactorrotation.png?alt=media\&token=b7df9ea1-4448-495e-8a7e-10bbd1089344)

<table><thead><tr><th width="155.33333333333331">Input / Output</th><th width="131"></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>EGroupActorComponent</code> target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The calculated group actor rotation.</td></tr></tbody></table>

## GetAverageLocation

Calculate average location. If bIsArithemetic is true, this function will return arithmetic average. Otherwise it returns weighed average. Used for GroupLocationMethod::ArithmeticAverage and GroupLocationMethod::WeightedAverage.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F7Mhb5mrBQlKafNrelq3E%2Fgetaveragelocation.png?alt=media\&token=c8ac3ed7-bf16-43ce-8fcd-9acfb47add72)

<table><thead><tr><th width="153.33333333333331">Input / Output</th><th width="144"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>IsArithmetic</td><td>Whether to return arithmetic average.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The calculated average location.</td></tr></tbody></table>

## GetAverageRotation

Calculate average rotation. If bIsArithemetic is true, this function will return arithmetic average. Otherwise it returns weighed average. Used for EGroupRotationMethod::ArithmeticAverage and EGroupRotationMethod::WeightedAverage.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FqMIsl0gHVNGpC1KaGF9z%2Fgetaveragerotation.png?alt=media\&token=cb381286-74dd-4467-8887-a73354d4f251)

<table><thead><tr><th width="160.33333333333331">Input / Output</th><th width="139"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>IsArithmetic</td><td>Whether to return arithmetic average.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The calculated average rotation.</td></tr></tbody></table>

## CheckWeightAllZero

Check whether all weights are zero.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FKX2MQmGwdnuCDVpLcK7R%2Fcheckweightallzero.png?alt=media\&token=840b6d1c-4c6e-4ef6-880b-bdf15fa711cc)

<table><thead><tr><th width="155.33333333333331">Input / Output</th><th width="139"></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>EGroupActorComponent</code> target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>Whether or not all weights are zero.</td></tr></tbody></table>

## GetNormalizer

Get the sum of weights.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FpWCvqteRH9LLOqCpkvYT%2Fgetnormalizer.png?alt=media\&token=cf067484-54ab-43fd-92b4-3ba4b8e32840)

<table><thead><tr><th width="160.33333333333331">Input / Output</th><th width="132"></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>EGroupActorComponent</code> target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The sum of all weights.</td></tr></tbody></table>

## GetFarestOrClosestLocation

Get farest or cloeset location among all target actors based on the anchor location. Used for EGroupLocationMethod::Closest and EGroupLocationMethod::Farest.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FUm0qfixjHtmwJKiRnsrC%2Fgetfarest.png?alt=media\&token=c27eeaa1-f054-4934-98bb-76758ca7f77f)

<table><thead><tr><th width="156.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>EGroupActorComponent</code> target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The result location based on the anchor location.</td></tr></tbody></table>

## GetLocationBasedOnDistance

Get location based on the distance between anchor location and each target actor's location. Used for EGroupLocationMethod::UnweightedDistanceBased and EGroupLocationMethod::WeightedDistanceBased.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F3YLRE98vizrb5zVLISUD%2Fgetdistance.png?alt=media\&token=73d89325-83c6-4e6f-8341-0a00bf18acdf)

<table><thead><tr><th width="157.33333333333331">Input / Output</th><th width="145"></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>EGroupActorComponent</code> target.</td></tr><tr><td>Output</td><td></td><td></td></tr><tr><td></td><td>Return Value</td><td>The result location based on the distance between anchor location and each target actor's location.</td></tr></tbody></table>

## SetBoundingActorWeight

Set the weight of a `FBoundingWrappedActor` actor.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FhzbHN2s9ZZLMWBUMMxng%2Fsetweight.png?alt=media\&token=af9142da-e725-4a0b-9b51-e02dbfb68832)

<table><thead><tr><th width="159.33333333333331">Input / Output</th><th width="225"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>BoundingWrapppedActor</td><td>The bounding wrapped actor that waits to set.</td></tr><tr><td></td><td>InWeight</td><td>Input weight.</td></tr></tbody></table>

## SetBoundingActorWidth

Set the width of a `FBoundingWrappedActor` actor.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FWYjQCmiKzFe3OcE6C5fO%2Fsetwidth.png?alt=media\&token=07377979-4038-4dd2-b9bd-f1006ddd29d1)

<table><thead><tr><th width="160.33333333333331">Input / Output</th><th width="232"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>BoundingWrapppedActor</td><td>The bounding wrapped actor that waits to set.</td></tr><tr><td></td><td>InWidth</td><td>Input width.</td></tr></tbody></table>

## SetBoundingActorHeight

Set the height of a `FBoundingWrappedActor` actor.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2Feg20afkcN1Tfikf3Hpqh%2Fsetheight.png?alt=media\&token=10eb3d56-ae49-458b-9c25-c8e51c750dc2)

<table><thead><tr><th width="160.33333333333331">Input / Output</th><th width="228"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>BoundingWrapppedActor</td><td>The bounding wrapped actor that waits to set.</td></tr><tr><td></td><td>InHeight</td><td>Input height.</td></tr></tbody></table>

## SetBoundingActorExcludeBoundingBox

Set the bExcludeBoundingBox of a `FBoundingWrappedActor` actor.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FlQgl7OIXi5TCDvOMHxph%2Fsetexclude.png?alt=media\&token=2c143d22-1ac9-4058-a4cb-b98ced289cc1)

<table><thead><tr><th width="162.33333333333331">Input / Output</th><th width="228"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>BoundingWrapppedActor</td><td>The bounding wrapped actor that waits to set.</td></tr><tr><td></td><td>InExcludeBoundingBox</td><td>Input bExcludeBoundingBox.</td></tr></tbody></table>

## AddTargetActor

Add a target actor.

![](https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2F5Y3Ciiypou3WTXF4Dp9m%2Faddtargetactor.png?alt=media\&token=999ca398-1809-443a-840c-6139e08ff9b3)

<table><thead><tr><th width="156.33333333333331">Input / Output</th><th width="142"></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>EGroupActorComponent</code> target.</td></tr><tr><td></td><td>InTargetActor</td><td>The input <code>FBoundingWrappedActor</code> actor.</td></tr></tbody></table>
