//SceneComponent.h
class ENGINE_API USceneComponent : public UActorComponent
{
/** Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. */
virtual FBoxSphereBounds CalcBounds(const FTransform& LocalToWorld) const;
/** Calculate the local bounds of the component. Default behavior is calling CalcBounds with an identity transform. */
virtual FBoxSphereBounds CalcLocalBounds() const
{
return CalcBounds(FTransform::Identity);
}
/** 计算组件的边界。 默认行为是大小为零的边界框/球体。 */
CalcBounds带参数
/** 计算组件的局部边界。 默认行为是使用恒等变换调用 CalcBounds。 */
CalcBounds不带参数