Tabnine Logo
DynamicLocation.setUpdateLocation
Code IndexAdd Tabnine to your IDE (free)

How to use
setUpdateLocation
method
in
de.slikey.effectlib.util.DynamicLocation

Best Java code snippets using de.slikey.effectlib.util.DynamicLocation.setUpdateLocation (Showing top 2 results out of 315)

origin: Slikey/EffectLib

/**
 * Set the Location this Effect is targeting.
 */
public void setDynamicTarget(DynamicLocation location) {
  target = location;
  if (target != null && targetOffset != null) {
    target.addOffset(targetOffset);
  }
  if (target != null) {
    target.setUpdateLocation(updateLocations);
    target.setUpdateDirection(updateDirections);
  }
}
origin: Slikey/EffectLib

/**
 * Set the Location this Effect is centered on.
 */
public void setDynamicOrigin(DynamicLocation location) {
  if (location == null) {
    throw new IllegalArgumentException("Origin Location cannot be null!");
  }
  origin = location;
  if (offset != null) {
    origin.addOffset(offset);
  }
  if (relativeOffset != null) {
    origin.addRelativeOffset(relativeOffset);
  }
  origin.setDirectionOffset(yawOffset, pitchOffset);
  origin.setYaw(yaw);
  origin.setPitch(pitch);
  origin.setUpdateLocation(updateLocations);
  origin.setUpdateDirection(updateDirections);
  origin.updateDirection();
}
de.slikey.effectlib.utilDynamicLocationsetUpdateLocation

Popular methods of DynamicLocation

  • <init>
  • addOffset
  • addRelativeOffset
  • getEntity
  • getLocation
  • setDirection
  • updateFrom
  • getEntityLocation
  • hasValidEntity
  • setDirectionOffset
  • setPitch
  • setUpdateDirection
  • setPitch,
  • setUpdateDirection,
  • setYaw,
  • update,
  • updateDirection,
  • updateOffsets

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now