All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.bullet.BulletSoftBody.btSoftBodyWorldInfo Maven / Gradle / Ivy

There is a newer version: 3.25-1.5.11
Show newest version
// Targeted by JavaCPP version 1.5.8: DO NOT EDIT THIS FILE

package org.bytedeco.bullet.BulletSoftBody;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.bullet.LinearMath.*;
import static org.bytedeco.bullet.global.LinearMath.*;
import org.bytedeco.bullet.BulletCollision.*;
import static org.bytedeco.bullet.global.BulletCollision.*;
import org.bytedeco.bullet.BulletDynamics.*;
import static org.bytedeco.bullet.global.BulletDynamics.*;

import static org.bytedeco.bullet.global.BulletSoftBody.*;


/* btSoftBodyWorldInfo	*/
@NoOffset @Properties(inherit = org.bytedeco.bullet.presets.BulletSoftBody.class)
public class btSoftBodyWorldInfo extends Pointer {
    static { Loader.load(); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public btSoftBodyWorldInfo(Pointer p) { super(p); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public btSoftBodyWorldInfo(long size) { super((Pointer)null); allocateArray(size); }
    private native void allocateArray(long size);
    @Override public btSoftBodyWorldInfo position(long position) {
        return (btSoftBodyWorldInfo)super.position(position);
    }
    @Override public btSoftBodyWorldInfo getPointer(long i) {
        return new btSoftBodyWorldInfo((Pointer)this).offsetAddress(i);
    }

	public native @Cast("btScalar") double air_density(); public native btSoftBodyWorldInfo air_density(double setter);
	public native @Cast("btScalar") double water_density(); public native btSoftBodyWorldInfo water_density(double setter);
	public native @Cast("btScalar") double water_offset(); public native btSoftBodyWorldInfo water_offset(double setter);
	public native @Cast("btScalar") double m_maxDisplacement(); public native btSoftBodyWorldInfo m_maxDisplacement(double setter);
	public native @ByRef btVector3 water_normal(); public native btSoftBodyWorldInfo water_normal(btVector3 setter);
	public native btBroadphaseInterface m_broadphase(); public native btSoftBodyWorldInfo m_broadphase(btBroadphaseInterface setter);
	public native btDispatcher m_dispatcher(); public native btSoftBodyWorldInfo m_dispatcher(btDispatcher setter);
	public native @ByRef btVector3 m_gravity(); public native btSoftBodyWorldInfo m_gravity(btVector3 setter);
	public native @ByRef btSparseSdf3 m_sparsesdf(); public native btSoftBodyWorldInfo m_sparsesdf(btSparseSdf3 setter);

	public btSoftBodyWorldInfo() { super((Pointer)null); allocate(); }
	private native void allocate();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy