Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
Inheritance Hierarchy
- FImplicitObject
- TImplicitObjectTransformed
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ImplicitObjectTransformed.h |
Include | #include "Chaos/ImplicitObjectTransformed.h" |
Syntax
template<class T, int d, bool bSerializable>
class TImplicitObjectTransformed : public Chaos::FImplicitObject
Remarks
Transform the contained shape. If you pass a TUniquePtr to the constructor, ownership is transferred to the TransformedImplicit. If you pass a SerializablePtr, the lifetime of the object must be handled externally (do not delete it before deleting the TransformedImplicit). bSerializable Whether the shape can be serialized (usually true). Set to false for transient/stack-allocated objects.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TImplicitObjectTransformed
(
const TImplicitObjectTransformed< T, d, bSerializable >& Other |
||
![]() |
TImplicitObjectTransformed
(
TImplicitObjectTransformed< T, d, bSerializable >&& Other |
||
![]() |
TImplicitObjectTransformed
(
ObjectType Object, |
Create a transform around an ImplicitObject. Lifetime of the wrapped object is managed externally. | |
![]() |
TImplicitObjectTransformed
(
TUniquePtr< Chaos::FImplicitObject >&& ObjectOwner, |
Create a transform around an ImplicitObject and take control of its lifetime. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | AccumulateAllImplicitObjects
(
TArray< Pair< const FImplicitObject*, TRigidTransform< T, d >>>& Out, |
|
![]() ![]() ![]() |
void | AccumulateAllSerializableImplicitObjects
(
TArray< Pair< TSerializablePtr< FImplicitObject >, TRigidTransform< T, d >>>& Out, |
|
![]() ![]() ![]() |
void | FindAllIntersectingObjects
(
TArray< Pair< const FImplicitObject*, TRigidTransform< T, d >>>& Out, |
|
![]() ![]() ![]() |
Pair< TVector< T, d >, bool > | FindClosestIntersectionImp
(
const TVector< T, d >& StartPoint, |
|
![]() ![]() ![]() |
TVector< T, 3 > | FindGeometryOpposingNormal
(
const TVector< T, d >& DenormDir, |
|
![]() ![]() ![]() |
int32 | FindMostOpposingFace
(
const TVector< T, 3 >& Position, |
|
![]() ![]() |
const FVec3 | ||
![]() ![]() |
bool | GetDoCollide () |
|
![]() ![]() |
const FMatrix33 | GetInertiaTensor
(
const FReal Mass |
|
![]() ![]() |
FReal | GetMargin () |
|
![]() ![]() |
FReal | GetRadius () |
|
![]() ![]() |
const TRigidTransform< T, d > & | GetTransform () |
|
![]() ![]() |
const FImplicitObject * | ||
![]() ![]() |
const FReal | GetVolume () |
|
![]() ![]() |
const ObjectType |
Object ()
|
|
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() |
T | PhiWithNormal
(
const TVector< T, d >& x, |
|
![]() ![]() ![]() |
bool | ||
![]() |
void | SetTransform
(
const TRigidTransform< T, d >& InTransform |
|
![]() ![]() |
constexpr EImplicitObjectType | StaticType () |
Overridden from FImplicitObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
const TAABB< T, d > | BoundingBox () |
|
![]() ![]() ![]() |
FAABB3 | CalculateTransformedBounds
(
const FRigidTransform3& InTransform |
Calculate the tight-fitting world-space bounding box. |
![]() ![]() ![]() |
TUniquePtr< FImplicitObject > | Copy () |
|
![]() ![]() ![]() |
TUniquePtr< FImplicitObject > | CopyWithScale
(
const FVec3& Scale |
|
![]() ![]() ![]() |
TUniquePtr< FImplicitObject > | DeepCopy () |
|
![]() ![]() ![]() |
TUniquePtr< FImplicitObject > | DeepCopyWithScale
(
const FVec3& Scale |
|
![]() ![]() ![]() |
FImplicitObject * | Duplicate () |
Not all implicit objects can be duplicated, up to user code to use this in cases that make sense. |
![]() ![]() ![]() |
int32 | FindClosestFaceAndVertices
(
const FVec3& Position, |
Finds the first intersecting face at given position |
![]() ![]() ![]() |
uint16 | GetMaterialIndex
(
uint32 HintIndex |
|
![]() ![]() ![]() |
EImplicitObjectType | ||
![]() ![]() ![]() |
uint32 | GetTypeHash () |
|
![]() ![]() ![]() |
bool | IsOverlappingBoundsImpl
(
const FAABB3& LocalBounds |
This should not be public, but it needs to be callable by derived classes on another instance. |
![]() ![]() |
void | Serialize
(
FChaosArchive& Ar |
|
![]() ![]() ![]() |
void | VisitLeafObjectsImpl
(
const FRigidTransform3& ObjectTransform, |
This should not be public, but it needs to be callable by derived classes on another instance. |
![]() ![]() ![]() |
bool | VisitObjectsImpl
(
const FRigidTransform3& ObjectTransform, |
This should not be public, but it needs to be callable by derived classes on another instance. |
![]() ![]() ![]() |
void | VisitOverlappingLeafObjectsImpl
(
const FAABB3& LocalBounds, |
This should not be public, but it needs to be callable by derived classes on another instance. |
Typedefs
Name | Description |
---|---|
FStorage | |
ObjectType |