SceneGameRecastData(bpy_struct)
base class — bpy_struct
- class bpy.types.SceneGameRecastData(bpy_struct)
Recast data for a Game data-block
- agent_height
Minimum height where the agent can still walk (in [-inf, inf], default 2.0)
- Type:
float
- agent_radius
Radius of the agent (in [-inf, inf], default 0.6)
- Type:
float
- cell_height
Rasterized cell height (in [-inf, inf], default 0.2)
- Type:
float
- cell_size
Rasterized cell size (in [-inf, inf], default 0.3)
- Type:
float
- climb_max
Maximum height between grid cells the agent can climb (in [-inf, inf], default 0.9)
- Type:
float
- edge_max_error
Maximum distance error from contour to cells (in [-inf, inf], default 1.3)
- Type:
float
- edge_max_len
Maximum contour edge length (in [-inf, inf], default 12.0)
- Type:
float
- partitioning
Choose partitioning method (default
'WATERSHED')WATERSHEDWatershed – Classic Recast partitioning method generating the nicest tessellation.MONOTONEMonotone – Fastest navmesh generation method, may create long thin polygons.LAYERSLayers – Reasonably fast method that produces better triangles than monotone partitioning.
- Type:
Literal[‘WATERSHED’, ‘MONOTONE’, ‘LAYERS’]
- region_merge_size
Minimum regions size (smaller regions will be merged) (in [-inf, inf], default 20.0)
- Type:
float
- region_min_size
Minimum regions size (smaller regions will be deleted) (in [-inf, inf], default 8.0)
- Type:
float
- sample_dist
Detail mesh sample spacing (in [-inf, inf], default 6.0)
- Type:
float
- sample_max_error
Detail mesh simplification max sample error (in [-inf, inf], default 1.0)
- Type:
float
- slope_max
Maximum walkable slope angle (in [0, 1.5708], default 0.785398)
- Type:
float
- verts_per_poly
Max number of vertices per polygon (in [-inf, inf], default 6)
- Type:
int
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type