9 protected ResourceName m_sPreviewObject;
11 [
Attribute(
"0.5084",
desc:
"Max placement distance in meters.")]
12 protected float m_fMaxPlacementDistance;
21 return m_ePlacementType;
28 return m_fMaxPlacementDistance;
35 if (m_sPreviewObject.IsEmpty())
38 Resource resource = Resource.Load(m_sPreviewObject);
39 if (!resource.IsValid())
42 BaseResourceObject resourceObject = resource.GetResource();
46 return resourceObject.ToVObject();