ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FArticyShadowableObject Struct Reference

#include <ArticyDatabase.h>

Public Member Functions

 FArticyShadowableObject ()=default
 FArticyShadowableObject (UArticyObject *Object, int32 CloneId, UObject *Outer=nullptr)
UArticyObjectGet (const IShadowStateManager *ShadowManager, bool ForceUnshadowed=false) const

Detailed Description

Represents a shadowable Articy object, capable of managing multiple shadows.

Constructor & Destructor Documentation

◆ FArticyShadowableObject() [1/2]

FArticyShadowableObject::FArticyShadowableObject ( )
default

Default constructor.

◆ FArticyShadowableObject() [2/2]

FArticyShadowableObject::FArticyShadowableObject ( UArticyObject * Object,
int32 CloneId,
UObject * Outer = nullptr )
explicit

Constructs a shadowable object with the specified object.

Parameters
ObjectThe Articy object to shadow.
CloneIdThe clone ID of the object.
OuterThe outer object context for the shadowable object.

Constructs a shadowable object, initializing it with the provided object.

Parameters
ObjectThe Articy object to shadow.
CloneIdThe clone ID for the object.
OuterThe outer object context for the shadowable object.

Member Function Documentation

◆ Get()

UArticyObject * FArticyShadowableObject::Get ( const IShadowStateManager * ShadowManager,
bool bForceUnshadowed = false ) const

Returns the requested shadow.

Parameters
ShadowManagerThe manager for shadow states.
ForceUnshadowedForce retrieval of the unshadowed version.
Returns
A pointer to the shadowed or unshadowed UArticyObject.

Retrieves the shadowed Articy object based on the shadow manager and clone state.

Parameters
ShadowManagerThe manager for shadow states.
bForceUnshadowedForce retrieval of the unshadowed version.
Returns
A pointer to the shadowed or unshadowed UArticyObject.

The documentation for this struct was generated from the following files:
  • Source/ArticyRuntime/Public/ArticyDatabase.h
  • Source/ArticyRuntime/Private/ArticyDatabase.cpp