public void Reset() { top.Reset(); bottom.Reset(); top.height = 1.0f; bottom.height = 0.0f; rotation = 0.0f; isEllipsoid = false; sides = 16; smoothingGroup = 1; type = CylinderShapeType.Cylinder; surfaceAssets = null; surfaceDescriptions = null; }
public void Reset() { top.Reset(); bottom.Reset(); top.height = 1.0f; bottom.height = 0.0f; rotation = 0.0f; isEllipsoid = false; sides = 16; smoothingGroup = 1; type = CylinderShapeType.Cylinder; if (surfaceDefinition != null) { surfaceDefinition.Reset(); } }
public void Reset() { topDiameterX = 1.0f; topDiameterZ = 1.0f; height = 1.0f; bottomDiameterX = 1.0f; bottomDiameterZ = 1.0f; bottomOffset = 0.0f; rotation = 0.0f; isEllipsoid = false; fitToBounds = true; sides = 16; smoothingGroup = 1; type = CylinderShapeType.Cylinder; if (surfaceDefinition != null) { surfaceDefinition.Reset(); } }