Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FInstanceSceneDataBuffers
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/InstanceDataSceneProxy.h |
| Include | #include "InstanceDataSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstanceDataSceneProxy.cpp |
FRenderBounds GetInstancePrimitiveRelativeBounds
(
int32 InstanceIndex,
FAccessTag AccessTag
) const
Remarks
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).