PlacementModifierNode

Trait PlacementModifierNode 

Source
pub trait PlacementModifierNode:
    Send
    + Sync
    + 'static {
    // Required method
    fn transform_position(&self, position: PxPosition) -> PxPosition;
}
Expand description

A node-local placement modifier that transforms the current node position without affecting measured size.

Required Methods§

Source

fn transform_position(&self, position: PxPosition) -> PxPosition

Returns the transformed node position relative to the parent.

Implementors§