pub struct Converge(/* private fields */);Expand description
Smoothstep convergence between deterministic point sets, cycling the shorter.
Implementations§
Trait Implementations§
Source§impl TrajectoryModel for Converge
impl TrajectoryModel for Converge
Source§fn analytic_bounds(&self, age: f32) -> Result<Option<Rect>, ValidationError>
fn analytic_bounds(&self, age: f32) -> Result<Option<Rect>, ValidationError>
Conservative extent of every particle center at this age, for models whose
Self::analytic_upload lets the GPU evaluate positions. Returning None keeps
the ordinary evaluated path.Source§fn birth_time(&self, _: u64) -> Time
fn birth_time(&self, _: u64) -> Time
Exact integer-tick birth time of one stable ID.
Source§fn state(
&self,
index: u64,
age: f32,
) -> Result<Option<Particle>, ValidationError>
fn state( &self, index: u64, age: f32, ) -> Result<Option<Particle>, ValidationError>
Complete state at this age; None means absent/dead.
Source§fn duration(&self) -> Option<Duration>
fn duration(&self) -> Option<Duration>
Optional finite natural duration for timeline registration.
Source§fn analytic_upload(
&self,
_age_seconds: f32,
_primitive: InstanceKind,
_align_to_velocity: bool,
) -> Result<Option<AnalyticInstanceUpload>, ValidationError>
fn analytic_upload( &self, _age_seconds: f32, _primitive: InstanceKind, _align_to_velocity: bool, ) -> Result<Option<AnalyticInstanceUpload>, ValidationError>
Optional seeded initial-state upload for supported random-access models.
Custom models and unsupported precision retain the ordinary evaluated path.
Auto Trait Implementations§
impl Forget for Converge
impl Freeze for Converge
impl Move for Converge
impl RefUnwindSafe for Converge
impl Send for Converge
impl Sync for Converge
impl Unpin for Converge
impl UnsafeUnpin for Converge
impl UnwindSafe for Converge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more