Struct Words | Collections | 0.7.1-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Words

    Namespace: Unity.Collections
    Syntax
    public struct Words
    Remarks

    A "Words" is an integer that refers to 4,096 or fewer chars of UTF-16 text in a global storage blob. Each should refer to at most about one printed page of text.

    If you need more text, consider using one Words struct for each printed page's worth.

    Each Words instance that you create is stored in a single, internally-managed WordStorage object, which can hold up to 16,384 Words entries. Once added, the entries in WordStorage cannot be modified or removed.

    Methods

    SetString(String)

    Declaration
    public void SetString(string value)
    Parameters
    Type Name Description
    String value

    ToNativeStringView()

    Declaration
    public NativeStringView ToNativeStringView()
    Returns
    Type Description
    NativeStringView

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Extension Methods

    JobNativeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobNativeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, NativeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    JobUnsafeMultiHashMapVisitKeyMutableValue.Schedule<TJob, TKey, TValue>(TJob, UnsafeMultiHashMap<TKey, TValue>, Int32, JobHandle)
    In This Article
    • Methods
      • SetString(String)
      • ToNativeStringView()
      • ToString()
    • Extension Methods
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023