Class LinearPackedIdentifiers
Generates identifiers linearly for built content. Only deterministic if object order and initial Index is deterministic.
Inheritance
System.Object
LinearPackedIdentifiers
Namespace: UnityEditor.Build.Pipeline
Syntax
public class LinearPackedIdentifiers : IDeterministicIdentifiers
Constructors
LinearPackedIdentifiers(Int64)
Default constructor, takes an initial index at which to start linear id assignment.
Declaration
public LinearPackedIdentifiers(long index)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | index | Initial index at which to start linear id assignment. |
Properties
Index
The index at which to start linear id assignment.
Declaration
public long Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
GenerateInternalFileName(String)
Declaration
public string GenerateInternalFileName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Returns
Type | Description |
---|---|
System.String |
SerializationIndexFromObjectIdentifier(ObjectIdentifier)
Declaration
public long SerializationIndexFromObjectIdentifier(ObjectIdentifier objectID)
Parameters
Type | Name | Description |
---|---|---|
ObjectIdentifier | objectID |
Returns
Type | Description |
---|---|
System.Int64 |