முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

HasObjectCameraCollision

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Checks if an object has camera collision enabled. (SetObjectNoCameraCollision)

NameDescription
objectidThe ID of the object to check.

Returns​

true - Object camera collision is enable.

false - Object camera collision is disable.

Examples​

if (HasObjectCameraCollision(objectid))
{
printf("Object %d camera collision: enable", objectid);
}
else
{
printf("Object %d camera collision: disable", objectid);
}