Method CreateAndValidateQMRGameObject
CreateAndValidateQMRGameObject(string, Mesh, Material[])
Creates a new QMR GameObject with no extra attributes and validates the GO was created (simulation only) along with any expected resources added to it.
Declaration
protected void CreateAndValidateQMRGameObject(string testGameObjectName, Mesh mesh = null, Material[] materials = null)
Parameters
Type | Name | Description |
---|---|---|
string | testGameObjectName | QMR GO name value |
Mesh | mesh | Optional Mesh to set on the QMR GO |
Material[] | materials | Optional PolySpatialMaterial array to assign to the QMR GO |