Method TryPlaceObject
TryPlaceObject(string, string, HandingType, double, double, double, double, double, double, AltitudeType, double, bool, bool, bool, out Object)
The same as PlaceObject(string, string, HandingType, double, double, double, double, double, double, AltitudeType, double, bool, bool, bool) except that it doesn't throw an exception if fails to place the object.
Declaration
public bool TryPlaceObject(string catalogFilename, string articleReference, Scene.Object.HandingType handingType, double dimensionX, double dimensionY, double dimensionZ, double positionX, double positionY, double altitude, Scene.Object.AltitudeType altitudeType, double oxyAngle, bool open, bool percuss, bool placeToPool, out Scene.Object placedObject)
Parameters
Type | Name | Description |
---|---|---|
string | catalogFilename | |
string | articleReference | |
Scene.Object.HandingType | handingType | |
double | dimensionX | |
double | dimensionY | |
double | dimensionZ | |
double | positionX | |
double | positionY | |
double | altitude | |
Scene.Object.AltitudeType | altitudeType | |
double | oxyAngle | |
bool | open | |
bool | percuss | |
bool | placeToPool | |
Scene.Object | placedObject |
Returns
Type | Description |
---|---|
bool |
|
Remarks
See PlaceObject(string, string, HandingType, double, double, double, double, double, double, AltitudeType, double, bool, bool, bool) for parameters description.