Table of Contents

Method Add

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Add(ref TimeStep, ref TimeStep, out TimeStep)

Adds two TimeStep values together and stores the result in a return value.

public static void Add(ref TimeStep left, ref TimeStep right, out TimeStep result)

Parameters

left TimeStep

The first TimeStep to add.

right TimeStep

The second TimeStep to add.

result TimeStep

When this method returns, contains the TimeStep object representing the sum of the left and right values.

Add(TimeStep, TimeStep)

Adds two TimeStep values together.

public static TimeStep Add(TimeStep left, TimeStep right)

Parameters

left TimeStep

The first TimeStep to add.

right TimeStep

The second TimeStep to add.

Returns

TimeStep

A new TimeStep object representing the sum of the left and right values.