EClassCastFlags

Flags used for quickly casting classes of certain types; all class cast flags are inherited

Windows
MacOS
Linux

Syntax

enum EClassCastFlags
{
    CASTCLASS_None                          = 0x0000000000000000,
    CASTCLASS_UField                        = 0x0000000000000001,
    CASTCLASS_UInt8Property                 = 0x0000000000000002,
    CASTCLASS_UEnum                         = 0x0000000000000004,
    CASTCLASS_UStruct                       = 0x0000000000000008,
    CASTCLASS_UScriptStruct                 = 0x0000000000000010,
    CASTCLASS_UClass                        = 0x0000000000000020,
    CASTCLASS_UByteProperty                 = 0x0000000000000040,
    CASTCLASS_UIntProperty                  = 0x0000000000000080,
    CASTCLASS_UFloatProperty                = 0x0000000000000100,
    CASTCLASS_UUInt64Property               = 0x0000000000000200,
    CASTCLASS_UClassProperty                = 0x0000000000000400,
    CASTCLASS_UUInt32Property               = 0x0000000000000800,
    CASTCLASS_UInterfaceProperty            = 0x0000000000001000,
    CASTCLASS_UNameProperty                 = 0x0000000000002000,
    CASTCLASS_UStrProperty                  = 0x0000000000004000,
    CASTCLASS_UProperty                     = 0x0000000000008000,
    CASTCLASS_UObjectProperty               = 0x0000000000010000,
    CASTCLASS_UBoolProperty                 = 0x0000000000020000,
    CASTCLASS_UUInt16Property               = 0x0000000000040000,
    CASTCLASS_UFunction                     = 0x0000000000080000,
    CASTCLASS_UStructProperty               = 0x0000000000100000,
    CASTCLASS_UArrayProperty                = 0x0000000000200000,
    CASTCLASS_UInt64Property                = 0x0000000000400000,
    CASTCLASS_UDelegateProperty             = 0x0000000000800000,
    CASTCLASS_UNumericProperty              = 0x0000000001000000,
    CASTCLASS_UMulticastDelegateProperty    = 0x0000000002000000,
    CASTCLASS_UObjectPropertyBase           = 0x0000000004000000,
    CASTCLASS_UWeakObjectProperty           = 0x0000000008000000,
    CASTCLASS_ULazyObjectProperty           = 0x0000000010000000,
    CASTCLASS_USoftObjectProperty           = 0x0000000020000000,
    CASTCLASS_UTextProperty                 = 0x0000000040000000,
    CASTCLASS_UInt16Property                = 0x0000000080000000,
    CASTCLASS_UDoubleProperty               = 0x0000000100000000,
    CASTCLASS_USoftClassProperty            = 0x0000000200000000,
    CASTCLASS_UPackage                      = 0x0000000400000000,
    CASTCLASS_ULevel                        = 0x0000000800000000,
    CASTCLASS_AActor                        = 0x0000001000000000,
    CASTCLASS_APlayerController             = 0x0000002000000000,
    CASTCLASS_APawn                         = 0x0000004000000000,
    CASTCLASS_USceneComponent               = 0x0000008000000000,
    CASTCLASS_UPrimitiveComponent           = 0x0000010000000000,
    CASTCLASS_USkinnedMeshComponent         = 0x0000020000000000,
    CASTCLASS_USkeletalMeshComponent        = 0x0000040000000000,
    CASTCLASS_UBlueprint                    = 0x0000080000000000,
    CASTCLASS_UDelegateFunction             = 0x0000100000000000,
    CASTCLASS_UStaticMeshComponent          = 0x0000200000000000,
    CASTCLASS_UMapProperty                  = 0x0000400000000000,
    CASTCLASS_USetProperty                  = 0x0000800000000000,
    CASTCLASS_UEnumProperty                 = 0x0001000000000000,
}

Values

Name

Description

CASTCLASS_None

CASTCLASS_UField

CASTCLASS_UInt8Property

CASTCLASS_UEnum

CASTCLASS_UStruct

CASTCLASS_UScriptStruct

CASTCLASS_UClass

CASTCLASS_UByteProperty

CASTCLASS_UIntProperty

CASTCLASS_UFloatProperty

CASTCLASS_UUInt64Property

CASTCLASS_UClassProperty

CASTCLASS_UUInt32Property

CASTCLASS_UInterfaceProperty

CASTCLASS_UNameProperty

CASTCLASS_UStrProperty

CASTCLASS_UProperty

CASTCLASS_UObjectProperty

CASTCLASS_UBoolProperty

CASTCLASS_UUInt16Property

CASTCLASS_UFunction

CASTCLASS_UStructProperty

CASTCLASS_UArrayProperty

CASTCLASS_UInt64Property

CASTCLASS_UDelegateProperty

CASTCLASS_UNumericProperty

CASTCLASS_UMulticastDelegateProperty

CASTCLASS_UObjectPropertyBase

CASTCLASS_UWeakObjectProperty

CASTCLASS_ULazyObjectProperty

CASTCLASS_USoftObjectProperty

CASTCLASS_UTextProperty

CASTCLASS_UInt16Property

CASTCLASS_UDoubleProperty

CASTCLASS_USoftClassProperty

CASTCLASS_UPackage

CASTCLASS_ULevel

CASTCLASS_AActor

CASTCLASS_APlayerController

CASTCLASS_APawn

CASTCLASS_USceneComponent

CASTCLASS_UPrimitiveComponent

CASTCLASS_USkinnedMeshComponent

CASTCLASS_USkeletalMeshComponent

CASTCLASS_UBlueprint

CASTCLASS_UDelegateFunction

CASTCLASS_UStaticMeshComponent

CASTCLASS_UMapProperty

CASTCLASS_USetProperty

CASTCLASS_UEnumProperty

Remarks

Flags used for quickly casting classes of certain types; all class cast flags are inherited

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/ObjectMacros.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback