기술 자료

Unity Engine

Unity Engine

PhysicsUserData

Custom user data. The physics system doesn't use this data, it is entirely for custom use.
읽는 시간 1분최근 업데이트: 하루 전

Definition

public struct PhysicsUserData

Properties

Property

Description

boolValueA custom Boolean.
floatValueA custom 32-bit Single.
int64ValueA custom 64-bit UInt64.
intValueA custom 32-bit Int32.
objectValueA custom Unity object. To get the EntityId of the object, use PhysicsUserData.objectValueId.
objectValueIdThe EntityId of a Unity object. This is the object referred to with PhysicsUserData.objectValue
physicsMaskValueA custom 64-bit PhysicsMask.