Struct BlittableBool | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct BlittableBool

    Plain struct that wraps a boolean value into a DOTS compatible data type.

    Namespace: Unity.Kinematica
    Syntax
    public struct BlittableBool

    Constructors

    BlittableBool(Boolean)

    Constructs a blittable bool from a boolean value.

    Declaration
    public BlittableBool(bool value)
    Parameters
    Type Name Description
    Boolean value

    Operators

    Implicit(Boolean to BlittableBool)

    Implicit cast operator that allows to convert a bool into a blittable bool.

    Declaration
    public static implicit operator BlittableBool(bool value)
    Parameters
    Type Name Description
    Boolean value
    Returns
    Type Description
    BlittableBool

    Implicit(BlittableBool to Boolean)

    Implicit cast operator that allows to convert a blittable bool into a bool.

    Declaration
    public static implicit operator bool (BlittableBool value)
    Parameters
    Type Name Description
    BlittableBool value
    Returns
    Type Description
    Boolean
    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