Свойство | Type | Description | |
---|---|---|---|
componentsRequiredForSurfaceMesh | System.Type[] |
Méthode | Description | |
---|---|---|
GetMeshFilters ( ) : List |
Gets all mesh filters that have a valid mesh.
|
|
GetMeshRenderers ( ) : List |
Gets all mesh renderers that have been created.
|
Méthode | Description | |
---|---|---|
AddSurfaceObject ( |
Creates a new surface game object.
|
|
Awake ( ) : void | ||
Cleanup ( ) : void |
Cleans up references to objects that we have created.
|
|
RemoveSurfaceObject ( |
Removes and optionally destroys the specified surfaceObject that we've created
|
|
UpdateSurfaceObject ( |
Updates an existing surface object.
|
protected AddSurfaceObject ( |
||
mesh | The mesh to attach. Can be null. | |
objectName | string | What to name this object. |
parentObject | What to parent this object to. | |
meshID | int | Optional user specified ID for the mesh. |
Résultat |
protected RemoveSurfaceObject ( |
||
surface | The surface game object | |
removeAndDestroy | bool | If true, the surface will be removed and destroyed. If false, it will only be removed. |
Résultat | void |
protected UpdateSurfaceObject ( |
||
gameObject | Game object reference to the surfaceObject. | |
meshID | int | User specified ID for the mesh. |
Résultat | void |