Table of Contents

Class SpringParams

Namespace
Adw.Internal
Assembly
Adw-1.dll
public class SpringParams
Inheritance
SpringParams
Inherited Members

Methods

GetDamping(SpringParamsHandle)

Calls native method adw_spring_params_get_damping.

public static extern double GetDamping(SpringParamsHandle self)

Parameters

self SpringParamsHandle

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetDampingRatio(SpringParamsHandle)

Calls native method adw_spring_params_get_damping_ratio.

public static extern double GetDampingRatio(SpringParamsHandle self)

Parameters

self SpringParamsHandle

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetGType()

Calls native function adw_spring_params_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMass(SpringParamsHandle)

Calls native method adw_spring_params_get_mass.

public static extern double GetMass(SpringParamsHandle self)

Parameters

self SpringParamsHandle

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetStiffness(SpringParamsHandle)

Calls native method adw_spring_params_get_stiffness.

public static extern double GetStiffness(SpringParamsHandle self)

Parameters

self SpringParamsHandle

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

New(double, double, double)

Calls native constructor adw_spring_params_new.

public static extern SpringParamsOwnedHandle New(double dampingRatio, double mass, double stiffness)

Parameters

dampingRatio double

Transfer ownership: None Nullable: False

mass double

Transfer ownership: None Nullable: False

stiffness double

Transfer ownership: None Nullable: False

Returns

SpringParamsOwnedHandle

Transfer ownership: Full Nullable: False

NewFull(double, double, double)

Calls native constructor adw_spring_params_new_full.

public static extern SpringParamsOwnedHandle NewFull(double damping, double mass, double stiffness)

Parameters

damping double

Transfer ownership: None Nullable: False

mass double

Transfer ownership: None Nullable: False

stiffness double

Transfer ownership: None Nullable: False

Returns

SpringParamsOwnedHandle

Transfer ownership: Full Nullable: False

Ref(SpringParamsHandle)

Calls native method adw_spring_params_ref.

public static extern SpringParamsOwnedHandle Ref(SpringParamsHandle self)

Parameters

self SpringParamsHandle

Transfer ownership: None Nullable: False

Returns

SpringParamsOwnedHandle

Transfer ownership: Full Nullable: False

Unref(SpringParamsHandle)

Calls native method adw_spring_params_unref.

public static extern void Unref(SpringParamsHandle self)

Parameters

self SpringParamsHandle

Transfer ownership: None Nullable: False