Updated bp_library.md and python_api.md
This commit is contained in:
parent
86c4411b88
commit
ab6cef2bc7
|
@ -711,81 +711,95 @@ Check out our [blueprint tutorial](../python_api_tutorial/#blueprints).
|
|||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0002</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0003</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0004</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0005</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0006</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0007</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0008</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0009</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0010</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0011</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0012</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0013</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
- **<font color="#498efc">walker.pedestrian.0014</font>**
|
||||
- **Attributes:**
|
||||
- `age` (_String_)
|
||||
- `gender` (_String_)
|
||||
- `is_invincible` (_Bool_)<sub>_ – Modifiable_</sub>
|
||||
- `role_name` (_String_)<sub>_ – Modifiable_</sub>
|
||||
- `speed` (_Float_)<sub>_ – Modifiable_</sub>
|
||||
|
|
|
@ -456,6 +456,20 @@ So, if you want to know the _X bounding box size_, you can just do `extent.x * 2
|
|||
- **Parameters:**
|
||||
- `location` (_[carla.Location](#carla.Location)_)
|
||||
- `extent` (_[carla.Vector3D](#carla.Vector3D)_)
|
||||
- <a name="carla.BoundingBox.contains"></a>**<font color="#7fb800">contains</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**world_point**</font>, <font color="#00a6ed">**transform**</font>)
|
||||
Returns whether a point in world space is inside this BoundingBox.
|
||||
- **Parameters:**
|
||||
- `world_point` (_[carla.Location](#carla.Location)_) – The point in world space to be checked whether it is inside this [carla.BoundingBox](#carla.BoundingBox) or.
|
||||
- `transform` (_[carla.Transform](#carla.Transform)_) – The [carla.Transform](#carla.Transform) that transforms from this [carla.BoundingBox](#carla.BoundingBox) space to world space.
|
||||
- **Return:** _bool_
|
||||
- <a name="carla.BoundingBox.get_local_vertices"></a>**<font color="#7fb800">get_local_vertices</font>**(<font color="#00a6ed">**self**</font>)
|
||||
Returns the vertices of this [carla.BoundingBox](#carla.BoundingBox) in local space.
|
||||
- **Return:** _a list of [carla.Location](#carla.Location)_
|
||||
- <a name="carla.BoundingBox.get_world_vertices"></a>**<font color="#7fb800">get_world_vertices</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**transform**</font>)
|
||||
Returns the vertices of this [carla.BoundingBox](#carla.BoundingBox) in world space.
|
||||
- **Parameters:**
|
||||
- `transform` (_[carla.Transform](#carla.Transform)_) – The [carla.Transform](#carla.Transform) that transforms from this [carla.BoundingBox](#carla.BoundingBox) space to world space.
|
||||
- **Return:** _a list of [carla.Location](#carla.Location)_
|
||||
- <a name="carla.BoundingBox.__eq__"></a>**<font color="#7fb800">\__eq__</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**other**</font>)
|
||||
- **Parameters:**
|
||||
- `other` (_[carla.BoundingBox](#carla.BoundingBox)_)
|
||||
|
|
Loading…
Reference in New Issue