{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct CustomPhysicsBodyTags | Unity Physics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CustomPhysicsBodyTags

    Custom physics Body Tags.

    A lightweight type containing eight tags that can be individually toggled. Designed for tagging of rigid bodies.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Physics.Authoring
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct CustomPhysicsBodyTags

    Fields

    Name Description
    Tag00

    Tag 0

    Tag01

    Tag 1

    Tag02

    Tag 2

    Tag03

    Tag 3

    Tag04

    Tag 4

    Tag05

    Tag 5

    Tag06

    Tag 6

    Tag07

    Tag 7

    Properties

    Name Description
    Everything

    Gets a CustomPhysicsBodyTags instance with all tags set to true.

    Nothing

    Gets a CustomPhysicsBodyTags instance with all tags set to false.

    Value

    A compact bitarray property representing the value of the tags 0 to 7 in a single byte.

    The i'th bit in the byte represents the value of the i'th tag, with a 1 corresponding to the true state.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)