pub unsafe trait SKWarpable: NSObjectProtocol {
// Provided methods
unsafe fn warpGeometry(&self) -> Option<Retained<SKWarpGeometry>>
where Self: Sized + Message { ... }
unsafe fn setWarpGeometry(&self, warp_geometry: Option<&SKWarpGeometry>)
where Self: Sized + Message { ... }
unsafe fn subdivisionLevels(&self) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn setSubdivisionLevels(&self, subdivision_levels: NSInteger)
where Self: Sized + Message { ... }
}Available on crate feature
SKWarpGeometry only.Expand description
Provided Methods§
unsafe fn warpGeometry(&self) -> Option<Retained<SKWarpGeometry>>
Sourceunsafe fn setWarpGeometry(&self, warp_geometry: Option<&SKWarpGeometry>)
unsafe fn setWarpGeometry(&self, warp_geometry: Option<&SKWarpGeometry>)
Setter for warpGeometry.
unsafe fn subdivisionLevels(&self) -> NSInteger
Sourceunsafe fn setSubdivisionLevels(&self, subdivision_levels: NSInteger)
unsafe fn setSubdivisionLevels(&self, subdivision_levels: NSInteger)
Setter for subdivisionLevels.
Trait Implementations§
Source§impl ProtocolType for dyn SKWarpable
impl ProtocolType for dyn SKWarpable
impl<T> ImplementedBy<T> for dyn SKWarpable
Implementations on Foreign Types§
impl<T> SKWarpable for ProtocolObject<T>where
T: ?Sized + SKWarpable,
Implementors§
impl SKWarpable for SKEffectNode
Available on crate feature
SKEffectNode only.impl SKWarpable for SKScene
Available on crate feature
SKScene only.impl SKWarpable for SKSpriteNode
Available on crate feature
SKSpriteNode only.