your current location:首页 > news>Free Camera API (FreeCameraapi) Minecraft

Free Camera API (FreeCameraapi) Minecraft

2024-12-15 01:27:19|Myriagame |source:minecraft skins

This module makes the camera operation easier and flexible!

Minecraft images

Kirk Science

Minecraft images

Rotate

How to create a modifier:

 // Create an ordinary modifier // When there are multiple modifiers, there is only one effect // The effective order depends on the hash value of the modifier IDSequence Cameramodifier.CreateModifier ("Modifier ID", FALSE) // Create a background modifier // The modification result of all background modifiers will be superimposed to the field camera Cameramodifier.createBackgroundmodifier ("Background I d ") 

How to use the modifier:

 // In any class you want to modify the camera // Usually you can handle Cameramodifier Modifier; Modifier.ena ble () // Enable the modifier.enablePos () // Enable the coordinate modification .enableRotation () // Enable rotation modification .enablefov () // Enable fov modification .enableler () // Enable linear interpolation .setpos (1, 2, 3) // Set the camera coordinates as to be the coordinates of the camera as the(1,2,3), the default local coordinates centered on player coordinates .addpos (1, 2, 3) .setrotationyxz (90F, 15F, 25F) // Set the camera rotation to (90F, 15F, 25F).MOVE (0, 0, -5) // Move the camera according to the current rotation situation .enablefirtfirtsonarmfixed () // Fixed player's first-person arm rendering, no longer follow the camera to move .enableglobalMode () // All coordinates and options were enabledIt will be modified according to the world coordinates, not to be fixed with arm 

Example: ZOOM camera realizes common souls

Minecraft images

The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.