All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.bugvm.apple.scenekit.SCNAction Maven / Gradle / Ivy
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bugvm.apple.scenekit;
/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.uikit.*;
import com.bugvm.apple.coregraphics.*;
import com.bugvm.apple.coreanimation.*;
import com.bugvm.apple.dispatch.*;
import com.bugvm.apple.glkit.*;
import com.bugvm.apple.spritekit.*;
import com.bugvm.apple.opengles.*;
/* */
/**/
/**
* @since Available in iOS 8.0 and later.
*/
/* */
/**/@Library("SceneKit") @NativeClass/* */
/**/public/* */ class /**/SCNAction/* */
extends /**/NSObject/* */
/**//* */ {
/**/public static class SCNActionPtr extends Ptr {}/* */
/**/static { ObjCRuntime.bind(SCNAction.class); }/* */
/**//* */
/**/
public SCNAction() {}
protected SCNAction(SkipInit skipInit) { super(skipInit); }
/* */
/**/
@Property(selector = "duration")
public native double getDuration();
@Property(selector = "setDuration:")
public native void setDuration(double v);
@Property(selector = "timingMode")
public native SCNActionTimingMode getTimingMode();
@Property(selector = "setTimingMode:")
public native void setTimingMode(SCNActionTimingMode v);
@Property(selector = "timingFunction")
public native @Block Block1 getTimingFunction();
@Property(selector = "setTimingFunction:")
public native void setTimingFunction(@Block Block1 v);
@Property(selector = "speed")
public native @MachineSizedFloat double getSpeed();
@Property(selector = "setSpeed:")
public native void setSpeed(@MachineSizedFloat double v);
/* */
/**//* */
/**/
@Method(selector = "reversedAction")
public native SCNAction getReversedAction();
@Method(selector = "moveByX:y:z:duration:")
public static native SCNAction moveBy(@MachineSizedFloat double deltaX, @MachineSizedFloat double deltaY, @MachineSizedFloat double deltaZ, double duration);
@Method(selector = "moveBy:duration:")
public static native SCNAction moveBy(@ByVal SCNVector3 delta, double duration);
@Method(selector = "moveTo:duration:")
public static native SCNAction moveTo(@ByVal SCNVector3 location, double duration);
@Method(selector = "rotateByX:y:z:duration:")
public static native SCNAction rotateBy(@MachineSizedFloat double xAngle, @MachineSizedFloat double yAngle, @MachineSizedFloat double zAngle, double duration);
@Method(selector = "rotateToX:y:z:duration:")
public static native SCNAction rotateTo(@MachineSizedFloat double xAngle, @MachineSizedFloat double yAngle, @MachineSizedFloat double zAngle, double duration);
@Method(selector = "rotateToX:y:z:duration:shortestUnitArc:")
public static native SCNAction rotateTo(@MachineSizedFloat double xAngle, @MachineSizedFloat double yAngle, @MachineSizedFloat double zAngle, double duration, boolean shortestUnitArc);
@Method(selector = "rotateByAngle:aroundAxis:duration:")
public static native SCNAction rotateBy(@MachineSizedFloat double angle, @ByVal SCNVector3 axis, double duration);
@Method(selector = "rotateToAxisAngle:duration:")
public static native SCNAction rotateTo(@ByVal SCNVector4 axisAngle, double duration);
@Method(selector = "scaleBy:duration:")
public static native SCNAction scaleBy(@MachineSizedFloat double scale, double sec);
@Method(selector = "scaleTo:duration:")
public static native SCNAction scaleTo(@MachineSizedFloat double scale, double sec);
@Method(selector = "sequence:")
public static native SCNAction sequence(NSArray actions);
@Method(selector = "group:")
public static native SCNAction group(NSArray actions);
@Method(selector = "repeatAction:count:")
public static native SCNAction repeat(SCNAction action, @MachineSizedUInt long count);
@Method(selector = "repeatActionForever:")
public static native SCNAction repeatForever(SCNAction action);
@Method(selector = "fadeInWithDuration:")
public static native SCNAction fadeIn(double sec);
@Method(selector = "fadeOutWithDuration:")
public static native SCNAction fadeOut(double sec);
@Method(selector = "fadeOpacityBy:duration:")
public static native SCNAction fadeOpacityBy(@MachineSizedFloat double factor, double sec);
@Method(selector = "fadeOpacityTo:duration:")
public static native SCNAction fadeOpacityTo(@MachineSizedFloat double opacity, double sec);
@Method(selector = "waitForDuration:")
public static native SCNAction wait(double sec);
@Method(selector = "waitForDuration:withRange:")
public static native SCNAction wait(double sec, double durationRange);
@Method(selector = "removeFromParentNode")
public static native SCNAction removeFromParentNode();
@Method(selector = "runBlock:")
public static native SCNAction run(@Block VoidBlock1 block);
@Method(selector = "runBlock:queue:")
public static native SCNAction run(@Block VoidBlock1 block, DispatchQueue queue);
@Method(selector = "javaScriptActionWithScript:duration:")
public static native SCNAction javaScript(String script, double seconds);
@Method(selector = "customActionWithDuration:actionBlock:")
public static native SCNAction custom(double seconds, @Block("(,@MachineSizedFloat)") VoidBlock2 block);
/* */
}