Skip to main content

spawn_actor_deferred_raw

Function spawn_actor_deferred_raw 

Source
pub fn spawn_actor_deferred_raw(
    world: UObjectHandle,
    class: UClassHandle,
    transform_buf: &[u8],
    owner: UObjectHandle,
    instigator: UObjectHandle,
    collision_method: u8,
) -> UikaResult<UObjectHandle>
Expand description

Spawn an actor with deferred construction (BeginPlay not yet called).

The returned actor can be configured before calling finish_spawning_raw. collision_method maps to ESpawnActorCollisionHandlingMethod (0..4).