#[unsafe(no_mangle)]pub unsafe extern "C" fn ss_player_set_crowd(
handle: *mut SsPlayer,
members: *const SsCrowdMember,
count: u32,
) -> i32Expand description
Draw this one playhead count times, once at each member’s placement: a crowd
that costs one player’s evaluation and draw calls, however large. count 0
draws the player once again, where ss_player_set_transform put it. The
members are copied; members may be null when count is 0.
Everything else is shared: the frame, the events (reported once), the masks and the effects. Each draw is issued for every member in turn, so where two members overlap their parts interleave, and this face’s stencil masks clip correctly only where members do not overlap.
SS_ERROR_INVALID_ARGUMENT for a null or destroyed handle, a null members
with a count, or a count past SS_MAX_CROWD_MEMBERS; the crowd is left
as it was.
§Safety
members must be null or point at count readable ss_crowd_member_ts.