智能客服
你问我答,随时在线为你解决问题
Interface Info |
|---|
public interface IModelListener 模型监听接口,包含模型加载、选择、放置等回调函数。 |
Qualifier and Type | Field and Description |
|---|---|
int | 模型加载错误状态标识。 |
int | 未知错误。 |
Qualifier and Type | Method Name and Description |
|---|---|
void | onModelError(int errorCode, String errorMessage) 模型错误回调该方法。 |
void | onModelLoaded(IModel model) 模型加载完成后回调该方法。 |
void | onModelPlacedOnArPlane(IModel model) 当模型放置在平面的时候回调该方法。 |
void | onModelSelected(IModel model) 用户点击视图并选择模型时的回调该方法。 |
Field |
|---|
int MODEL_LOADING_ERROR 模型加载错误状态标识。 另请参阅:Constant-values |
Field |
|---|
int UNKNOWN_ERROR 未知错误。 另请参阅:Constant-values |
Method |
|---|
void onModelLoaded(IModel model) 模型加载后回调该方法。 |
Name | Description |
|---|---|
模型接口。 |
Method |
|---|
void onModelSelected(IModel model) 当模型被选中的时候回调该方法。 |
Name | Description |
|---|---|
模型接口。 |
Method |
|---|
void onModelError(int errorCode, String errorMessage) 当模型出现错误的时候回调该方法。 |
Name | Description |
|---|---|
errorCode | 错误码。 |
errorMessage | 错误信息。 |
智能客服
你问我答,随时在线为你解决问题
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功