mw / CollisionQueryParams
CollisionQueryParams Interface
Space query collision parameters
Table of contents
Properties
collisionGroup: string |
---|
Specify the collision channel used for detection. Models set to not collide with the collision group will be ignored. The default value is the Default group. |
objectsToIgnore: GameObject [] |
An object array, the detection result will ignore the objects in this array. |
objectsToQuery: GameObject [] |
An object array. The detect result only contains the objects in this array. |
respectCanCollide: boolean |
If this property is true, the query operation will use the Model.collisionEnabled value of the interaction model before the Model.queryEnabled value to determine whether the model is included in the spatial query result array. |
Properties
collisionGroup
• Optional
collisionGroup: string
Specify the collision channel used for detection. Models set to not collide with the collision group will be ignored. The default value is the Default group.
objectsToIgnore
• Optional
objectsToIgnore: GameObject
[]
An object array, the detection result will ignore the objects in this array.
objectsToQuery
• Optional
objectsToQuery: GameObject
[]
An object array. The detect result only contains the objects in this array.
respectCanCollide
• Optional
respectCanCollide: boolean
If this property is true, the query operation will use the Model.collisionEnabled value of the interaction model before the Model.queryEnabled value to determine whether the model is included in the spatial query result array.