> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/scene-fusion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfchecksum.md).

# Class sfChecksum

Namespace: [KS.SceneFusion.Client.Unity.Editor](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor.md)\
Assembly: KSUnity-Source.dll

Utility class for computing a checksum from a Unity object's serialized properties or an [sfBaseProperty](/scene-fusion/api-reference/ks.scenefusion/ks.scenefusion.sfbaseproperty.md). Only syncable serialized properties are used to compute the checksum. References to non-asset Unity objects will have the same checksum as a null reference.

```csharp
public class sfChecksum
```

#### Inheritance

object ← [sfChecksum](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfchecksum.md)

## Methods

### Fletcher64(Object) <a href="#ks_scenefusion_client_unity_editor_sfchecksum_fletcher64_unityengine_object" id="ks_scenefusion_client_unity_editor_sfchecksum_fletcher64_unityengine_object"></a>

Computes a fletcher 64 checksum for a uobject from its syncable serialized property values. References to non-asset Unity objects will have the same checksum as a null reference.

```csharp
public ulong Fletcher64(Object uobject)
```

#### Parameters

`uobject` Object

Object to compute checksum for.

#### Returns

ulong

Checksum

### Fletcher64(sfBaseProperty, Filter) <a href="#ks_scenefusion_client_unity_editor_sfchecksum_fletcher64_ks_scenefusion_sfbaseproperty_ks_scenefusio" id="ks_scenefusion_client_unity_editor_sfchecksum_fletcher64_ks_scenefusion_sfbaseproperty_ks_scenefusio"></a>

Computes a fletcher 64 checksum for a property.

```csharp
public ulong Fletcher64(sfBaseProperty property, sfChecksum.Filter filter = null)
```

#### Parameters

`property` [sfBaseProperty](/scene-fusion/api-reference/ks.scenefusion/ks.scenefusion.sfbaseproperty.md)

Property to compute checksum for.

`filter` [sfChecksum](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfchecksum.md).[Filter](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfchecksum/ks.scenefusion.client.unity.editor.sfchecksum.filter.md)

Filter for excluding dictionary fields from the checksum.

#### Returns

ulong

Checksum

### Get() <a href="#ks_scenefusion_client_unity_editor_sfchecksum_get" id="ks_scenefusion_client_unity_editor_sfchecksum_get"></a>

Gets the singleton instance.

```csharp
public static sfChecksum Get()
```

#### Returns

[sfChecksum](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfchecksum.md)

Singleton instance
