24#ifndef _SBS_PRIMITIVE_H
25#define _SBS_PRIMITIVE_H
40 void Enabled(
bool value);
50 void OnClick(
Vector3 &position,
bool shift,
bool ctrl,
bool alt,
bool right);
51 bool Attach(
const std::string &meshname,
const Vector3 &position,
const Vector3 &rotation,
Real max_render_distance = 0,
Real scale_multiplier = 1,
bool enable_physics =
false,
Real restitution= 0,
Real friction = 0,
Real mass = 0);
52 void SetTexture(
const std::string &texture);
55 void RemoveFromParent();
MeshObject * GetMeshObject()