unreal.ToolsetContainerTestObject¶
- class unreal.ToolsetContainerTestObject(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectTest UObject that records every PostEditChangeChainProperty call for inspection.
C++ Source:
Plugin: ToolsetRegistry
Module: ToolsetRegistry
File: ToolsetJsonTest.h
Editor Properties: (see get_editor_property/set_editor_property)
int_array(Array[int32]): [Read-Write]int_map(Map[str, int32]): [Read-Write]int_set(Set[int32]): [Read-Write]nested_struct(ToolsetLibraryNestedStruct): [Read-Write]outer_array(Array[ToolsetLibraryInnerStruct]): [Read-Write]ref_obj(Object): [Read-Write] Bare object reference used to exercise the ReferenceConverter rejection path through SetObjectProperties (i.e. to verify the GConverterRejectedInput RAII guard via the end-to-end API). The property must be BlueprintReadWrite so PropertyAccessUtil grants write access; the converter’s class-resolution branch then runs and can reject.struct_map(Map[str, ToolsetLibraryInnerStruct]): [Read-Write]struct_prop(ToolsetLibraryTestStruct): [Read-Write]transform_array(Array[Transform]): [Read-Write]transform_prop(Transform): [Read-Write] FTransform has a registered FToolsetJsonConverter (FToolsetTransformConverter), so ToolsetJson serializes it via FToolsetTransform’s {location,rotation,scale} schema rather than the native FProperty layout. Used to verify that struct properties / container elements with a custom importer skip field-by-field recursion.
- property nested_struct: ToolsetLibraryNestedStruct¶
[Read-Write]
- Type:
- property ref_obj: Object¶
[Read-Write] Bare object reference used to exercise the ReferenceConverter rejection path through SetObjectProperties (i.e. to verify the GConverterRejectedInput RAII guard via the end-to-end API). The property must be BlueprintReadWrite so PropertyAccessUtil grants write access; the converter’s class-resolution branch then runs and can reject.
- Type:
(Object)
- property struct_prop: ToolsetLibraryTestStruct¶
[Read-Write]
- Type:
- property transform_prop: Transform¶
[Read-Write] FTransform has a registered FToolsetJsonConverter (FToolsetTransformConverter), so ToolsetJson serializes it via FToolsetTransform’s {location,rotation,scale} schema rather than the native FProperty layout. Used to verify that struct properties / container elements with a custom importer skip field-by-field recursion.
- Type: