Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FInstanceSceneDataBuffers
Description
Get the primitive-relative bounds for the instance. These are the local bounds transformed into Primitive relative space using InstanceToPrimitiveRelative transform. Note that this may contain instance rotation which may possibly lead to expansion of the bounds that is less tight than a transformed sphere bounds. Clamps the index to the InstanceLocalBounds size (it is always 1:1 with the instance count or exactly 1).
| Name | GetInstancePrimitiveRelativeBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/InstanceDataSceneProxy.h |
| Include Path | #include "InstanceDataSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstanceDataSceneProxy.cpp |
FRenderBounds GetInstancePrimitiveRelativeBounds
(
int32 InstanceIndex,
FAccessTag AccessTag
) const