ProximitySensorDsl
io.github.srs.model.entity.dynamicentity.sensor.dsl.ProximitySensorDsl
object ProximitySensorDsl
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProximitySensorDsl.type
Members list
Value members
Concrete methods
Creates a new ProximitySensor with default properties.
Creates a new ProximitySensor with default properties.
Attributes
Extensions
Extensions
extension (sensor: ProximitySensor[DynamicEntity, Environment])
Validates the properties of a sensor.
Validates the properties of a sensor.
Attributes
Sets the offset orientation of the sensor relative to the entity's orientation.
Sets the offset orientation of the sensor relative to the entity's orientation.
Value parameters
- offset
-
the orientation offset of the sensor.
Attributes
- Returns
-
a new ProximitySensor instance with the updated offset.
Sets the range of the proximity sensor.
Sets the range of the proximity sensor.
Value parameters
- range
-
the range of the sensor.
Attributes
- Returns
-
a new ProximitySensor instance with the updated range.
In this article